forked from M-Labs/nac3
nac3core: pretty print codegen panic error
This commit is contained in:
parent
ffac37dc48
commit
c4ab2855e5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user