From c6dc7d5b790e09c298c810004fd34f84b93004b5 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Mon, 10 Jun 2019 17:14:58 -0700 Subject: [PATCH] chore: fix duplicate error string (#18713) --- atom/renderer/api/atom_api_web_frame.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/atom/renderer/api/atom_api_web_frame.cc b/atom/renderer/api/atom_api_web_frame.cc index e38f2393ce16..9e7d5cdd2bbe 100644 --- a/atom/renderer/api/atom_api_web_frame.cc +++ b/atom/renderer/api/atom_api_web_frame.cc @@ -108,8 +108,7 @@ class ScriptExecutionCallback : public blink::WebScriptExecutionCallback { } else { promise_.RejectWithErrorMessage( "Script failed to execute, this normally means an error " - "was thrown. Check the renderer console for the error." - "was thrown, check the renderer console for the error"); + "was thrown. Check the renderer console for the error."); } } else { promise_.RejectWithErrorMessage(