You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
Expected Behaviour
The following code snippet should return a 501 status code along with the error message.
Current Behaviour
The snippet is returning the default 500 status code along with the error message.
Possible Solution
Modify the fail method inside index.js to use
this.value
Steps to Reproduce (for bugs)
Create a handler that returns the following
Context
I am trying to create a stateless microservice that returns proper status codes.
Your Environment
faas-cli version:
0.8.3
docker version:
18.09.1
OS:
MacOS
The text was updated successfully, but these errors were encountered: