Replaced 'browser' with 'main'

"A JavaScript error occured in the browser process" is confusing. Replacing it with 'main', just like everywhere else.
This commit is contained in:
Vivek Patel 2015-07-29 15:04:34 +02:00
parent 1e9eccf959
commit 90bd32c680

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'