mirror of
https://github.com/electron/electron.git
synced 2026-01-23 14:28:17 -05:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user