From 61da0858d57e4dd04bc1c6f855a4dd124e53f837 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 26 Oct 2022 17:08:28 +0200 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/HtmlEx.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/HtmlEx.java b/app/src/main/java/eu/faircode/email/HtmlEx.java index 7ddf17e229..50a1954891 100644 --- a/app/src/main/java/eu/faircode/email/HtmlEx.java +++ b/app/src/main/java/eu/faircode/email/HtmlEx.java @@ -165,7 +165,8 @@ public class HtmlEx { } } catch (Throwable ex) { Log.e("withinDiv " + start + "..." + end + "/" + text.length() + - " i=" + i + " n1=" + n1 + " n2=" + n2); + " i=" + i + " n1=" + n1 + " n2=" + n2 + + "\n" + android.util.Log.getStackTraceString(ex)); throw ex; } } @@ -326,7 +327,8 @@ public class HtmlEx { next++; } catch (Throwable ex) { Log.e("withinBlockquoteIndividual " + start + "..." + end + "/" + text.length() + - " i=" + i + " next=" + next); + " i=" + i + " next=" + next + + "\n" + android.util.Log.getStackTraceString(ex)); throw ex; } } @@ -526,7 +528,8 @@ public class HtmlEx { } } catch (Throwable ex) { Log.e("withinParagraph " + start + "..." + end + "/" + text.length() + - " i=" + i + " next=" + next); + " i=" + i + " next=" + next + + "\n" + android.util.Log.getStackTraceString(ex)); throw ex; } } @@ -567,7 +570,8 @@ public class HtmlEx { out.append(c); } } catch (Throwable ex) { - Log.e("withinStyle " + start + "..." + end + "/" + text.length() + " i=" + i); + Log.e("withinStyle " + start + "..." + end + "/" + text.length() + " i=" + i + + "\n" + android.util.Log.getStackTraceString(ex)); throw ex; } }