Skip to content

Commit b26c5d5

Browse files
committed
dismiss no content exception
1 parent 535746f commit b26c5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Chrome/Example/simple_extension/bridgeClientChrome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
try {
5151
handler(message.data, responseCallback)
5252
} catch(exception) {
53-
if (typeof console != 'undefined') {
53+
if (typeof console != 'undefined' && JSON.stringify(exception)!="{}") {
5454
console.log("WebViewJavascriptBridge: WARNING: javascript handler threw.", message, exception)
5555
}
5656
}

0 commit comments

Comments
 (0)