diff --git a/atom/common/node_bindings.cc b/atom/common/node_bindings.cc index d6ad8045bd77..1e3fac3874f3 100644 --- a/atom/common/node_bindings.cc +++ b/atom/common/node_bindings.cc @@ -145,7 +145,7 @@ void NodeBindings::Initialize() { // it back if user wants to show it. std::unique_ptr env(base::Environment::Create()); if (env->HasVar("ELECTRON_DEFAULT_ERROR_MODE")) - SetErrorMode(0); + SetErrorMode(GetErrorMode() & ~SEM_NOGPFAULTERRORBOX); #endif }