You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe it is me, not laabr but I've such issue - with laabr option override: true, when i.e. TypeError occurs and is caught, then reported with console.error(error), I see only :
It started to annoy me more and more, and if error was happening, I had to start server with override set to false.
I looked into source code how console is implemented and found this :
I must say that I cannot exactly reproduce it at my local Linux (using i.e. Node 14, latest laabr). So with my laabr options, using simple.js I've got this :
With my modification in laabr/src/utils.js it looks like this :
I think is more readable. @felixheck What do you think ?
The text was updated successfully, but these errors were encountered:
Maybe it is me, not laabr but I've such issue - with laabr option
override: true
, when i.e.TypeError
occurs and is caught, then reported withconsole.error(error)
, I see only :My stack is :
It started to annoy me more and more, and if error was happening, I had to start server with
override
set to false.I looked into source code how
console
is implemented and found this :https://github.com/whatwg/console/blob/f276b49ad99c815a17a86b6c6cbc8ca842eb69d3/reference-implementation/Logger.js#L29
so I went to my ❤️ laabr and this
laabr/src/utils.js
Line 59 in dfc458b
I've changed into :
( with
const util = require('util')
at source file beginning. )So after this output looks that :

My laabr
options
are :I must say that I cannot exactly reproduce it at my local Linux (using i.e. Node 14, latest laabr). So with my laabr options, using simple.js I've got this :
With my modification in

laabr/src/utils.js
it looks like this :I think is more readable. @felixheck What do you think ?
The text was updated successfully, but these errors were encountered: