mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
create JS exceptions for callbacks and eval js using string utils, removed check for exception as contained in string utils
This commit is contained in:
@@ -207,7 +207,7 @@ namespace CefSharp
|
||||
}
|
||||
else
|
||||
{
|
||||
errorMessage = exception->GetMessage();
|
||||
errorMessage = StringUtils::CreateExceptionString(exception);
|
||||
}
|
||||
}
|
||||
finally
|
||||
@@ -261,10 +261,7 @@ namespace CefSharp
|
||||
else
|
||||
{
|
||||
auto exception = value->GetException();
|
||||
if (exception.get())
|
||||
{
|
||||
errorMessage = exception->GetMessage();
|
||||
}
|
||||
errorMessage = StringUtils::CreateExceptionString(exception);
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user