Skip to content

Commit

Permalink
Log full error on reporter error closes #547
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriVanHoudt committed May 16, 2017
1 parent 6070669 commit 23e6494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/monitor.js
Expand Up @@ -127,6 +127,7 @@ class Monitor {
this._reporters[reporterName].on('error', (err) => {

console.error(`There was a problem (${err}) in ${reporterName} and it has been destroyed.`);
console.error(err);
});
});

Expand Down

0 comments on commit 23e6494

Please sign in to comment.