Skip to content

Commit

Permalink
onError: guard defaultOnErr
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Jul 2, 2016
1 parent 7cb3421 commit 4d8752a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,5 +205,5 @@ function apply (ns, source, target, createSend, done) {
// handle errors all the way at the top of the trace
// err? -> null
function defaultOnError (err) {
throw err
if (err) throw err
}

0 comments on commit 4d8752a

Please sign in to comment.