endgame icon indicating copy to clipboard operation
endgame copied to clipboard

A tiny module for ensuring uncaught exceptions are handled in Node.js

Results 4 endgame issues
Sort by recently updated
recently updated
newest added

Addressed the issue https://github.com/krakenjs/endgame/issues/5 Replaced the `EventEmitter.listenerCount` which has been deprecated since v4.0.0 with the `emitter.listenerCount` which has been added since v3.2.0 **Relevant Links** https://nodejs.org/api/events.html#events_emitter_listenercount_eventname https://nodejs.org/api/events.html#events_emitter_listenercount_eventname

https://github.com/krakenjs/endgame/blob/ec030685ddf49077b603a9e7c73cc4474143fac2/index.js#L37

now that node people decided to have a whooooole separate means of async i/o failure, i want to catch those too. care if we rev this to add an `unhandledRejection`...

Currently the failsafe error handler only support `Error` objects: ``` js console.error(new Date().toUTCString(), UNCAUGHT, err.message); console.error(err.stack); process.exit(1); ``` Many libs however will throw a `string` or even `undefined` (terrible). Here's...