fix: Include Error properties in logs
This commit is contained in:
committed by
Gregor Martynus
parent
ad2e1d76b7
commit
c90765e10d
Vendored
+3
-1
@@ -1,3 +1,5 @@
|
||||
module.exports = function(config, options, cb) {
|
||||
cb(new Error('a'));
|
||||
const error = new Error('a');
|
||||
error.errorProperty = 'errorProperty';
|
||||
cb(error);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user