We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. I'd like to manually set the Response Body and Status Code e.g.
app.on("workflow_job.queued", async (context) => { context.res.status(400); context.res.send('None shall pass'); });
Currently the response code is always 200 even if an error got thrown. e.g.
app.on("workflow_job.queued", async (context) => { throw new Error('Boom'); });
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines and explore other ways you can get involved.
Sorry, something went wrong.
Set Response Body and Status Code probot#1818
e78950f
No branches or pull requests
Feature Request
Is your feature request related to a problem? Please describe.
I'd like to manually set the Response Body and Status Code e.g.
Currently the response code is always 200 even if an error got thrown. e.g.
The text was updated successfully, but these errors were encountered: