This repository was archived by the owner on Nov 16, 2020. It is now read-only.
No helpful error output when giving bad arguments to function create (specifically --handler) #483
Closed
1 of 3 tasks
Labels
Bug Report
I created a simple function (hello.py) and was trying to test out the source directory support:
Where hello.py is the same as from the python examples.
I created a function as so:
Do you see the error? I didn't. The handler arg is wrong. It should be "hello.handle". I had an extra "r".
The result is a function which gets stuck for a while in CREATING and then finally errors out. However there is nothing in the payload to indicate the cause of the error. The only log with anything useful was the function pod log, but even that gave a cryptic python traceback.
Expected behavior
Tell me know my handler is wrong. "Could not import function, is handler set correctly?"
Current behavior
Steps to reproduce
Impact
Possible solution
Your Environment
The text was updated successfully, but these errors were encountered: