aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-05-07 16:50:58 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-07 16:50:58 +0530
commit61e8d0915163e1c28fe688fa920058ded2745ade (patch)
tree6c7ba82eee3c04678b09f2a2c9067b1cd3778661 /src/client
parentdocs(changelog): update infra change (diff)
downloadsl0ppij-61e8d0915163e1c28fe688fa920058ded2745ade.tar.gz
sl0ppij-61e8d0915163e1c28fe688fa920058ded2745ade.tar.xz
sl0ppij-61e8d0915163e1c28fe688fa920058ded2745ade.zip
hotfix(logging): let logging fail silently while testing
Diffstat (limited to 'src/client')
-rw-r--r--src/client/panes/grid.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/panes/grid.rs b/src/client/panes/grid.rs
index e893fd32..9d924220 100644
--- a/src/client/panes/grid.rs
+++ b/src/client/panes/grid.rs
@@ -1261,7 +1261,9 @@ impl vte::Perform for Grid {
self.insert_character_at_cursor_position(EMPTY_TERMINAL_CHARACTER);
}
} else {
- let _ = debug_log_to_file(format!("Unhandled csi: {}->{:?}", c, params));
+ let result = debug_log_to_file(format!("Unhandled csi: {}->{:?}", c, params));
+ #[cfg(not(test))]
+ result.unwrap();
}
}