commit
d3db178182
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ process.on 'uncaughtException', (error) ->
|
|||
# Show error in GUI.
|
||||
stack = error.stack ? "#{error.name}: #{error.message}"
|
||||
message = "Uncaught Exception:\n#{stack}"
|
||||
require('dialog').showErrorBox 'A JavaScript error occured in the main process', message
|
||||
require('dialog').showErrorBox 'A JavaScript error occurred in the main process', message
|
||||
|
||||
# Emit 'exit' event on quit.
|
||||
app = require 'app'
|
||||
|
|
Loading…
Reference in a new issue