mirror of
https://github.com/electron/electron.git
synced 2026-02-13 08:35:02 -05:00
chore: fix duplicate error string (#18713)
This commit is contained in:
committed by
Samuel Attard
parent
af108764c7
commit
c6dc7d5b79
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user