Skip to content

Commit

Permalink
Fixed error string when failing to import an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Mar 29, 2024
1 parent dd17102 commit 548ada5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exceptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ macro_rules! import_exception {
::std::panic!("Can not import module {}: {}\n{}", stringify!($module), err, traceback);
});
let cls = imp.getattr(stringify!($name)).expect(concat!(
"Can not load exception class: {}.{}",
"Can not load exception class: ",
stringify!($module),
".",
stringify!($name)
Expand Down

0 comments on commit 548ada5

Please sign in to comment.