Node-webkit automatically closes on error - How to stop?

2 views
Skip to first unread message

mike....@weebly.com

unread,
Nov 26, 2013, 3:04:38 AM11/26/13
to node-...@googlegroups.com
I'm developing an application and am running into various bugs at the moment, all of which are my own doing.  However, whenever an error is encountered, I briefly see a baby-blue and white page with the error message (I believe it's a sky/cloud screen), and then the application closes automatically.  I would like to have the application stay opened regardless of error message/status while I develop it.  Has anyone encountered this?

Thanks,

Mike

Anatoly Pashin

unread,
Nov 26, 2013, 4:31:11 AM11/26/13
to node-...@googlegroups.com

process.on('uncaughtException', function(err) {
    // handle the error safely
    console.log(err);
});


2013/11/26 <mike....@weebly.com>
I'm developing an application and am running into various bugs at the moment, all of which are my own doing.  However, whenever an error is encountered, I briefly see a baby-blue and white page with the error message (I believe it's a sky/cloud screen), and then the application closes automatically.  I would like to have the application stay opened regardless of error message/status while I develop it.  Has anyone encountered this?

Thanks,

Mike

--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Пашин Анатолий,
эникейщик.

Frank Hale

unread,
Nov 26, 2013, 10:25:17 AM11/26/13
to node-...@googlegroups.com
I know it's a long shot but I tried that bit of Javascript on the various NW crashes I've been encountering but it did not stop NW from crashing. I think the OP is talking about NW crashing unexpectedly when certain code is ran.
Reply all
Reply to author
Forward
0 new messages