chore: remove eprintln! usage on release [TRI-051] (#15)

This commit is contained in:
Lucas Fernandes Nogueira 2021-10-23 14:31:01 -03:00 committed by Lucas Nogueira
parent d660cab38d
commit d4017d505c
No known key found for this signature in database
GPG Key ID: 2714B66BCFB01F7F

View File

@ -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);
}
}
@ -2212,6 +2213,7 @@ fn handle_user_message(
sender.send(window_id).unwrap();
}
Err(e) => {
#[cfg(debug_assertions)]
eprintln!("{}", e);
}
},
@ -2679,6 +2681,7 @@ fn handle_event_loop(
.map(|w| &w.inner)
{
if let Err(e) = webview.resize() {
#[cfg(debug_assertions)]
eprintln!("{}", e);
}
}