rackerlabs / lambda-uploader

Helps package and upload Python lambda functions to AWS
Apache License 2.0
271 stars 56 forks source link

Ugly crash if lambda.json file has syntax error #89

Closed rossy62-zz closed 8 years ago

rossy62-zz commented 8 years ago

My first attempt, I deleted the vpc section of lambda.json, and forgot to remove the trailing comma before it. This yielded some cryptic errors not managed well for a newbie (like myself). I'm new to gitHub, but I will try to grab the repo, and see if I can't fix this in the coming weeks (if it's not otherwise fixed). To see if I can contribute to the effort.

Just starting up the Lambda learning curve, Thinking it's a big lever to get work done.

jarosser06 commented 8 years ago

Would you mind giving us the output from the crash.

On Thu, Apr 28, 2016, 16:35 rossy62 notifications@github.com wrote:

My first attempt, I deleted the vpc section of lambda.json, and forgot to remove the trailing comma before it. This yielded some cryptic errors not managed well for a newbie (like myself). I'm new to gitHub, but I will try to grab the repo, and see if I can't fix this in the coming weeks (if it's not otherwise fixed). To see if I can contribute to the effort.

Just starting up the Lambda learning curve, Thinking it's a big lever to get work done.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/rackerlabs/lambda-uploader/issues/89

jarosser06 commented 8 years ago

I assume the stack trace you received was from the JSON module. Unfortunately it would be an exceptional amount of work to capture every possible exception and convert it into something prettier.

Closing this since it has been open for a month with no further action.