Merge pull request #2377 from CtrlVP/master

Replaced 'browser' with 'main'
This commit is contained in:
Cheng Zhao 2015-07-30 09:39:53 +08:00
commit b68356b9b9

View file

@ -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 browser process', message
require('dialog').showErrorBox 'A JavaScript error occured in the main process', message
# Emit 'exit' event on quit.
app = require 'app'