chore: fix duplicate error string (#18713)

This commit is contained in:
Shelley Vohr 2019-06-10 17:14:58 -07:00 committed by Samuel Attard
parent af108764c7
commit c6dc7d5b79

View file

@ -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(