Skip to content

Commit

Permalink
chore: remove eprintln! usage on release [TRI-051] (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Jan 9, 2022
1 parent d660cab commit d4017d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/tauri-runtime-wry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2172,6 +2172,7 @@ fn handle_user_message(
.map(|w| &w.inner)
{
if let Err(e) = webview.evaluate_script(&script) {
#[cfg(debug_assertions)]
eprintln!("{}", e);
}
}
Expand Down Expand Up @@ -2212,6 +2213,7 @@ fn handle_user_message(
sender.send(window_id).unwrap();
}
Err(e) => {
#[cfg(debug_assertions)]
eprintln!("{}", e);
}
},
Expand Down Expand Up @@ -2679,6 +2681,7 @@ fn handle_event_loop(
.map(|w| &w.inner)
{
if let Err(e) = webview.resize() {
#[cfg(debug_assertions)]
eprintln!("{}", e);
}
}
Expand Down

0 comments on commit d4017d5

Please sign in to comment.