Skip to content

AttributeError: 'NoneType' object has no attribute 'get' #31

@stavalfi

Description

@stavalfi

I'm not sure why but this repo is broken.

We are not able to make it work.

The lambda: serverlessrepo-github-codebuild-logs-GetBuildLogs-NsIuFeRMuqgw throw error:

[ERROR] AttributeError: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/var/task/getbuildlogs.py", line 21, in handler
    log_key = api_event.get('queryStringParameters', 
{}
).get('key')

we are on debug mode but we don't see more logs...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions