From 4f278ba71542b91a971521551b5d2e6a9da02835 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 5 Oct 2018 12:23:04 +0200 Subject: [PATCH] return 0 on error (#9705) --- parity-clib/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parity-clib/src/lib.rs b/parity-clib/src/lib.rs index 28b212acd..7791f97bd 100644 --- a/parity-clib/src/lib.rs +++ b/parity-clib/src/lib.rs @@ -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 } }; }