chore: fix duplicate error string (#18713)
This commit is contained in:
parent
af108764c7
commit
c6dc7d5b79
1 changed files with 1 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue