JNI exception properties

This commit is contained in:
M66B
2023-12-12 07:40:24 +01:00
parent f690e58c28
commit 420f6c7f36
3 changed files with 43 additions and 6 deletions

View File

@@ -1838,7 +1838,7 @@ public class Log {
try (FileWriter out = new FileWriter(file, true)) {
out.write(BuildConfig.VERSION_NAME + BuildConfig.REVISION + " " + new Date() + "\r\n");
out.write(ex + "\r\n" + new ThrowableWrapper(ex).getStackTraceString() + "\r\n");
out.write(ex + "\r\n" + new ThrowableWrapper(ex).getSafeStackTraceString() + "\r\n");
} catch (IOException e) {
Log.e(e);
}