mirror of
https://github.com/GyulyVGC/sniffnet.git
synced 2025-12-23 22:29:01 -05:00
Merge branch 'main' into traffic-preview
This commit is contained in:
@@ -14,9 +14,8 @@ fn log_err(self, location: Location) -> Result<T, E> {
|
||||
let line = location.line;
|
||||
eprintln!("Sniffnet error at [{file}:{line}]: {e}");
|
||||
// in debug mode, panic on error
|
||||
const {
|
||||
assert!(!cfg!(debug_assertions));
|
||||
}
|
||||
#[cfg(debug_assertions)]
|
||||
panic!();
|
||||
}
|
||||
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user