Skip to content

Commit 82e8903

Browse files
authored
Update ExecuteScriptWithResult.md
1 parent 9a62274 commit 82e8903

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

specs/ExecuteScriptWithResult.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,9 @@ void MatchRegWithScript(wil::com_ptr<ICoreWebView2> webView
120120
L"\nMessage: " + exceptionMessage.get() +
121121
L"\nLineNumber: " + std::to_wstring(lineNumber) +
122122
L", ColumnNumber:" + std::to_wstring(columnNumber);
123-
MessageBox(
124-
nullptr, exceptionInfo.c_str(),
125-
L"ExecuteScript Result", MB_OK);
126-
}
123+
MessageBox(
124+
nullptr, exceptionInfo.c_str(),
125+
L"ExecuteScript Result", MB_OK);
127126
}
128127
}
129128
return S_OK;
@@ -173,7 +172,7 @@ class ExecuteScriptWithResultDemo {
173172
String exceptionInfo = "The script execution failed." +
174173
"\nName:" + exception.Name +
175174
"\nMesssge: " + exception.Message +
176-
"\n LineNumber:" + exception.LineNumber +
175+
"\nLineNumber:" + exception.LineNumber +
177176
", ColumnNumber:" + exception.ColumnNumber;
178177
Debug.WriteLine($"{exceptionInfo}");
179178
}

0 commit comments

Comments
 (0)