serverless / dashboard-plugin

The Serverless Framework Dashboard plugin
https://www.serverless.com/dashboard/
MIT License
49 stars 31 forks source link

Greengrass wrapper error #354

Closed revmischa closed 4 years ago

revmischa commented 4 years ago

I'm running my lambda on Greengrass, with the help of serverless-plugin-greengrass

However when an error happens the severless_sdk wrapper dies.

Log is attached metromon-client-dev-monitor.log

[2020-01-26T14:52:02.701-05:00][WARN]-  File "/lambda/serverless_sdk/vendor/wrapt/wrappers.py", line 603, in __call__
[2020-01-26T14:52:02.701-05:00][WARN]-    args, kwargs)
[2020-01-26T14:52:02.701-05:00][WARN]-  File "/lambda/serverless_sdk/__init__.py", line 495, in wrapper
[2020-01-26T14:52:02.701-05:00][WARN]-    if response:
[2020-01-26T14:52:02.701-05:00][WARN]-UnboundLocalError: local variable 'response' referenced before assignment
medikoo commented 4 years ago

@revmischa thanks for report. This looks as duplicate of https://github.com/serverless/enterprise-plugin/issues/346 which was fixed with https://github.com/serverless/enterprise-plugin/pull/349 (hence I'm closing this)

Ensure your serverless installation relies on latest version of @serverless/enterprise-plugin (you can force update via npm update), and confirm it works for you

revmischa commented 4 years ago

I upgraded it and got this issue:

Screen Shot 2020-01-29 at 1 49 36 PM

My project is very very small, I don't know what it is running out of

medikoo commented 4 years ago

@revmischa this looks as other issue. If you're unsure what's the reason of Resource limit exceeded error please contact AWS support