diff --git a/lib/index.js b/lib/index.js index db65ea678..a6e2da208 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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, {