Skip to content
Permalink
Browse files

chore: fix duplicate error string (#18713)

  • Loading branch information...
codebytere authored and MarshallOfSound committed Jun 11, 2019
1 parent af10876 commit c6dc7d5b790e09c298c810004fd34f84b93004b5
Showing with 1 addition and 2 deletions.
  1. +1 −2 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(

0 comments on commit c6dc7d5

Please sign in to comment.
You can’t perform that action at this time.