diff --git a/nac3core/src/codegen/mod.rs b/nac3core/src/codegen/mod.rs index 4ee3f3a3..fbd70150 100644 --- a/nac3core/src/codegen/mod.rs +++ b/nac3core/src/codegen/mod.rs @@ -247,7 +247,7 @@ impl WorkerRegistry { let result = module.verify(); if let Err(err) = result { println!("{}", module.print_to_string().to_str().unwrap()); - println!("{}", err); + println!("{}", err.to_string()); panic!() } f.run(&module);