Skip to content

Commit c86cf1e

Browse files
committed
Update WebViewHelpers.Shared.cs
1 parent e14c75a commit c86cf1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BlazorWebView/tests/MauiDeviceTests/WebViewHelpers.Shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ await ExecuteScriptAsync(webView,
5555
})();
5656
document.getElementById('controlDiv').innerText = JSON.stringify(result);
5757
} catch (error) {
58-
document.getElementById('controlDiv').innerText = JSON.stringify({message: error || 'Unknown error'});
58+
document.getElementById('controlDiv').innerText = JSON.stringify(error || 'Unknown error');
5959
}
6060
})();
6161
`;

0 commit comments

Comments
 (0)