Ensure stderr and exceptions also go to logfile

Bring back supererror for stacktraces when no Error object is throwing
This commit is contained in:
Johannes Zellner
2020-08-21 09:45:03 +02:00
parent d315c53ff8
commit 2d2270a337
3 changed files with 43 additions and 11 deletions
+30
View File
@@ -4611,6 +4611,36 @@
}
}
},
"supererror": {
"version": "0.7.2",
"resolved": "https://registry.npmjs.org/supererror/-/supererror-0.7.2.tgz",
"integrity": "sha512-eMrdX2uNcTW74XwOBUHnEwv+ZF5BCGqCpTxrcYN60oiUttF3wFBayhya5tTsYIOWKm9RpEkfWaYkVxq38oDL5w==",
"requires": {
"colors": "^1.2.1",
"prettyjson": "^1.2.1"
},
"dependencies": {
"colors": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/colors/-/colors-1.2.1.tgz",
"integrity": "sha512-s8+wktIuDSLffCywiwSxQOMqtPxML11a/dtHE17tMn4B1MSWw/C22EKf7M2KGUBcDaVFEGT+S8N02geDXeuNKg=="
},
"minimist": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ="
},
"prettyjson": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prettyjson/-/prettyjson-1.2.1.tgz",
"integrity": "sha1-/P+rQdGcq0365eV15kJGYZsS0ok=",
"requires": {
"colors": "1.2.1",
"minimist": "1.2.0"
}
}
}
},
"supports-color": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz",