mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
Merge pull request #1018 from minibikini/master
improves FunctionRun error handling
This commit is contained in:
commit
ff99deba16
@ -232,7 +232,7 @@ module.exports = function(S) {
|
||||
|
||||
this.evt.data.result = {
|
||||
response,
|
||||
status: 'success'
|
||||
status: reply.FunctionError ? 'error' : 'success'
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user