mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-01 03:03:09 +03:00
Log uncaught exceptions to parent process
This commit is contained in:
parent
43a3c93d9b
commit
42301210c4
@ -13,6 +13,9 @@ console =
|
||||
error: -> callTaskMethod 'error', arguments...
|
||||
global.__defineGetter__ 'console', -> console
|
||||
|
||||
process.on 'uncaughtException', (error) ->
|
||||
console.error(error.message)
|
||||
|
||||
window.document =
|
||||
createElement: ->
|
||||
setAttribute: ->
|
||||
|
Loading…
Reference in New Issue
Block a user