diff --git a/src/atom.coffee b/src/atom.coffee index c515f26be..0e2031e62 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -776,7 +776,9 @@ class Atom extends Model try require(userInitScriptPath) if fs.isFileSync(userInitScriptPath) catch error - console.error "Failed to load `#{userInitScriptPath}`", error.stack, error + atom.notifications.addError "Failed to load `#{userInitScriptPath}`", + detail: error.message + dismissable: true # Require the module with the given globals. #