diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-04-30 06:32:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 06:32:24 +0800 |
commit | 2ea96549c55c44935c05fcaf6c68119d0eef4c8e (patch) | |
tree | 89a3ab9e15c3b250858f9d1c590816675cf93c5f /lib/utils.js | |
parent | fba008e2989de0611d144a1ec91d9eb1c9b2b479 (diff) | |
download | tracifyjs-2ea96549c55c44935c05fcaf6c68119d0eef4c8e.tar.gz tracifyjs-2ea96549c55c44935c05fcaf6c68119d0eef4c8e.zip |
unify logging functionality (#3392)
fixes #3253
fixes #3254
Diffstat (limited to 'lib/utils.js')
-rw-r--r-- | lib/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.js b/lib/utils.js index 40b65e2a..6dcb631e 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -70,7 +70,7 @@ function configure_error_stack(fn) { err.name = this.name; try { throw err; - } catch(e) { + } catch (e) { return e.stack; } } |