-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance error prompt while running go fn app locally #28
Comments
Hi and welcome! Here's the thing. You actually allocated problematic area very explicitly, however, it not related to fdk-go. fn test or fn run Because the format env var is not the only var you'd need to set (there are at least 6 to 10 env vars FDK would need). So, the thing you've done is not typic or even recommended path go. I recommend you to spend some time playing with interactive tutorial here: https://www.katacoda.com/fnproject/scenarios/fn-intro |
I did |
Well. There have to be 2 ways to test your function:
So, FDK-go misses the 2nd point. I'd better rename this issue to something in lines to:
|
Sure, agree. |
Fixing this issue is simple:
However for users who are totally new to the fn project they usually have no idea about what is going wrong there . They just wanna make sure their function works properly locally before building a fn app.
Shall we develop a patch in go FDK side for telling user what is going wrong there and how to fix it rather that a panic without any prompt ?
The text was updated successfully, but these errors were encountered: