Skip to content

Commit

Permalink
fix(core): stop processing after normalize error
Browse files Browse the repository at this point in the history
  • Loading branch information
wdavidw committed Apr 26, 2021
1 parent db60fb8 commit 0fe9177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/lib/session.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/src/session.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ session = (args, options={}) ->
args: action
hooks: action.hooks?.on_normalize or action.on_normalize
handler: normalize
catch err then reject err
catch err then return reject err
# Load action from registry
if action.metadata.namespace
action_from_registry = await action.registry.get action.metadata.namespace
Expand Down

0 comments on commit 0fe9177

Please sign in to comment.