mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Log uncaught exceptions to parent process
This commit is contained in:
@@ -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: ->
|
||||
|
||||
Reference in New Issue
Block a user