diff --git a/src/exceptions.rs b/src/exceptions.rs index add958257ab..66b5b57dc0e 100644 --- a/src/exceptions.rs +++ b/src/exceptions.rs @@ -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)