Skip to content

Commit 060d76e

Browse files
committed
Javascript CallbackRegistry FindWrapper - Improve error message when no wrapper found
1 parent f1f62fa commit 060d76e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CefSharp.BrowserSubprocess.Core/CefAppUnmanagedWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ namespace CefSharp
413413
auto callbackWrapper = callbackRegistry->FindWrapper(jsCallbackId);
414414
if (callbackWrapper == nullptr)
415415
{
416-
errorMessage = "Unable to find callbackWrapper";
416+
errorMessage = StringUtils::ToNative("Unable to find JavascriptCallback with Id " + jsCallbackId + " for Frame " + frameId);
417417
}
418418
else
419419
{

0 commit comments

Comments
 (0)