Added logging

This commit is contained in:
M66B 2022-10-26 17:08:28 +02:00
parent 4e26f0cf01
commit 61da0858d5
1 changed files with 8 additions and 4 deletions

View File

@ -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;
}
}