github-codebuild-logs icon indicating copy to clipboard operation
github-codebuild-logs copied to clipboard

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

Open stavalfi opened this issue 4 years ago • 0 comments

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...

stavalfi avatar Jun 28 '21 09:06 stavalfi