Skip to content

Commit 254ea81

Browse files
committed
trace warn added.
1 parent 812db30 commit 254ea81

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/wkwebview/class/wry_web_view_delegate.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ define_class!(
6060
) {
6161
if let Ok(r) = Request::builder().uri(url).body(js.to_string()) {
6262
ipc_handler(r);
63+
} else {
64+
#[cfg(feature = "tracing")]
65+
tracing::warn!("WebView received invalid IPC request: {}", js);
6366
}
6467
return;
6568
}

0 commit comments

Comments
 (0)