core: Move bitcode verification error message into panic message
This commit is contained in:
parent
3f99667ec2
commit
0e9d6476d1
|
@ -338,8 +338,7 @@ impl WorkerRegistry {
|
||||||
let result = module.verify();
|
let result = module.verify();
|
||||||
if let Err(err) = result {
|
if let Err(err) = result {
|
||||||
println!("{}", module.print_to_string().to_str().unwrap());
|
println!("{}", module.print_to_string().to_str().unwrap());
|
||||||
println!("{}", err.to_string());
|
panic!("{}", err.to_string())
|
||||||
panic!()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
f.run(&module);
|
f.run(&module);
|
||||||
|
|
Loading…
Reference in New Issue