@studio/log
Advanced tools
+4
-1
@@ -68,4 +68,7 @@ /* | ||
| : error.message || error.name || String(error); | ||
| if (msg.startsWith('[object ')) { | ||
| return error.stack || ''; | ||
| } | ||
| const s = error.stack; | ||
| return !s ? msg : s.indexOf(msg) === 0 ? s : `${msg}\n${s}`; | ||
| return !s ? msg : s.indexOf(msg) >= 0 ? s : `${msg}\n${s}`; | ||
| } | ||
@@ -72,0 +75,0 @@ |
+1
-1
| { | ||
| "name": "@studio/log", | ||
| "version": "2.1.1", | ||
| "version": "2.1.2", | ||
| "description": "A tiny streaming ndJSON logger", | ||
@@ -5,0 +5,0 @@ "main": "lib/log.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
17128
0.4%326
0.93%