diff --git a/atom/browser/api/atom_api_power_monitor.cc b/atom/browser/api/atom_api_power_monitor.cc index d8632fae9cce..429d3fc26e80 100644 --- a/atom/browser/api/atom_api_power_monitor.cc +++ b/atom/browser/api/atom_api_power_monitor.cc @@ -44,7 +44,7 @@ v8::Local PowerMonitor::Create(v8::Isolate* isolate) { if (!Browser::Get()->is_ready()) { isolate->ThrowException(v8::Exception::Error(mate::StringToV8( isolate, - "Cannot initialize \"powerMonitor\" module before app is ready"))); + "Cannot require \"powerMonitor\" module before app is ready"))); return v8::Null(isolate); } diff --git a/atom/browser/api/atom_api_screen.cc b/atom/browser/api/atom_api_screen.cc index dfdd3450ebd8..c45e20da4c2c 100644 --- a/atom/browser/api/atom_api_screen.cc +++ b/atom/browser/api/atom_api_screen.cc @@ -97,7 +97,7 @@ v8::Local Screen::Create(v8::Isolate* isolate) { if (!Browser::Get()->is_ready()) { isolate->ThrowException(v8::Exception::Error(mate::StringToV8( isolate, - "Cannot initialize \"screen\" module before app is ready"))); + "Cannot require \"screen\" module before app is ready"))); return v8::Null(isolate); }