diff options
Diffstat (limited to 'rust/examples/dwarf')
| -rw-r--r-- | rust/examples/dwarf/dwarf_export/src/lib.rs | 2 | ||||
| -rw-r--r-- | rust/examples/dwarf/dwarf_import/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rust/examples/dwarf/dwarf_export/src/lib.rs b/rust/examples/dwarf/dwarf_export/src/lib.rs index 057abe27..05592f5f 100644 --- a/rust/examples/dwarf/dwarf_export/src/lib.rs +++ b/rust/examples/dwarf/dwarf_export/src/lib.rs @@ -781,7 +781,7 @@ impl Command for MyCommand { #[no_mangle] pub extern "C" fn CorePluginInit() -> bool { - init(LevelFilter::Debug).expect("Unable to initialize logger"); + init(LevelFilter::Debug); register( "Export as DWARF", diff --git a/rust/examples/dwarf/dwarf_import/src/lib.rs b/rust/examples/dwarf/dwarf_import/src/lib.rs index b04c04db..20076d0c 100644 --- a/rust/examples/dwarf/dwarf_import/src/lib.rs +++ b/rust/examples/dwarf/dwarf_import/src/lib.rs @@ -658,7 +658,7 @@ impl CustomDebugInfoParser for DWARFParser { #[no_mangle] pub extern "C" fn CorePluginInit() -> bool { - logger::init(LevelFilter::Debug).unwrap(); + logger::init(LevelFilter::Debug); let settings = Settings::new(""); |
