-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Console.log crashes fs-jetpack #29
Comments
This one wins the WTF of the year for me. As you can see in the call stack Don't know how to resolve this yet. Filed issue: nodejs/node#8071 to see what the almighty oracle will say. |
I knew you'd like this one ;) As a workaround we could check Maybe with something like this: function traceContains(needle, caller){
if (!caller) return false
return caller.name.contains(needle) || traceContains(caller.caller)
} And then in inspect if (traceContains('console', arguments.callee.caller) return somethingElse |
This nodejs/node#8013 doesn't help, does it? Only took a quick glimpse. |
Kind of it is. This is not general solution, but anyone can do That beaing said the easiest solution i see to fix this is to change the |
See nodejs/node#8174 |
Yep, shipped with node 6.6.0. Will see what we can do here. |
electron 1.4.0 ships w/ node 6.5.0, guess one of the next releases will be shipped w/ 6.6 Seems like all we have to do then is adding const util = require('util')
// exported object
{
// other API stuff
util.inspect.custom = depth => 'maybe something useful here'
} to |
Jetpack v0.10.2 fixes this for node versions 6.6.0 or newer. No way to fix this in nodes older than that. |
console.log()
on afs-jetpack
object (with abs/rel path) crashes my app.fs-jetpack 0.9.2
The text was updated successfully, but these errors were encountered: