Skip to content

Commit

Permalink
fixed scoping of timeout handler
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed Dec 8, 2016
1 parent 94a5ddb commit dc58c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ class Hemera extends EventEmitter {

try {

cb(error)
cb.call(this, error)
} catch (err) {

let error = new Errors.FatalError(Constants.FATAL_ERROR, {
Expand Down

0 comments on commit dc58c79

Please sign in to comment.