X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=java_strings.py;h=f97ca9b7d0cff3ac4b416f175c8add0d10c9d040;hb=a7fb44f8312609821a58be1d45eb6e3e8f698336;hp=c38d23b2f98725286050903cafe6990b5efb364e;hpb=a2e02c9f5671cd4315863bfab99ead113b5d714b;p=ldk-java diff --git a/java_strings.py b/java_strings.py index c38d23b2..f97ca9b7 100644 --- a/java_strings.py +++ b/java_strings.py @@ -857,7 +857,7 @@ import java.util.Arrays; out_c += "\tif ((*env)->ExceptionCheck(env)) {\n" out_c += "\t\t(*env)->ExceptionDescribe(env);\n" - out_c += "\t\t(*env)->FatalError(env, \"A Java interface method called from rust threw an exception.\");\n" + out_c += "\t\t(*env)->FatalError(env, \"A call to " + fn_line.fn_name + " in " + struct_name + " from rust threw an exception.\");\n" out_c += "\t}\n" if fn_line.ret_ty_info.arg_conv is not None: