return 0 on error (#9705)

This commit is contained in:
David
2018-10-05 12:23:04 +02:00
committed by GitHub
parent 1036fcca36
commit 4f278ba715

View File

@@ -191,7 +191,7 @@ pub unsafe extern "system" fn Java_io_parity_ethereum_Parity_configFromCli(env:
},
Err(err) => {
let _ = env.throw_new("java/lang/Exception", err.to_string());
0
return 0
}
};
}