core-functions
Advanced tools
Comparing version
@@ -110,3 +110,3 @@ 'use strict'; | ||
if (isEncodableDecodable(value)) { | ||
console.error(`Unexpected error (${err}), since ${JSON.stringify(value)} was supposed to be encodable/decodable`, err.stack); | ||
console.error(`Unexpected error (${err}), since ${JSON.stringify(value)} was supposed to be encodable/decodable`, err); | ||
if (returnUndefinedInsteadOfThrow) { | ||
@@ -113,0 +113,0 @@ return undefined; |
{ | ||
"name": "core-functions", | ||
"version": "3.0.14", | ||
"version": "3.0.15", | ||
"description": "Core functions, utilities and classes for working with Node/JavaScript primitives and built-in objects, including strings, booleans, Promises, base 64, Arrays, Objects, standard AppErrors, etc.", | ||
@@ -5,0 +5,0 @@ "author": "Byron du Preez", |
@@ -377,3 +377,3 @@ 'use strict'; | ||
} catch (err) { | ||
console.error('Failed to clear timeout', err.stack); | ||
console.error('Failed to clear timeout', err); | ||
} finally { | ||
@@ -380,0 +380,0 @@ if (mustResolve) { |
@@ -1,2 +0,2 @@ | ||
# core-functions v3.0.14 | ||
# core-functions v3.0.15 | ||
@@ -128,3 +128,3 @@ Core functions, utilities and classes for working with Node/JavaScript primitives and built-in objects, including | ||
err => { | ||
console.log(err.stack); | ||
console.log(err); | ||
return -1; | ||
@@ -131,0 +131,0 @@ } |
## Changes | ||
### 3.0.15 | ||
- Replaced all logging of `error.stack` with logging of just the error | ||
### 3.0.14 | ||
@@ -4,0 +7,0 @@ - Added dummy first exports (`exports._ = '_'; //IDE workaround`) to most modules as a temporary workaround for IDE issue |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
955203
-0.02%15262
-0.01%