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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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