mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Wrap throwables
This commit is contained in:
@@ -155,7 +155,7 @@ public class ActivityDMARC extends ActivityBase {
|
||||
if (ex instanceof NoStreamException)
|
||||
((NoStreamException) ex).report(ActivityDMARC.this);
|
||||
else
|
||||
tvDmarc.setText(ex + "\n" + android.util.Log.getStackTraceString(ex));
|
||||
Log.unexpectedError(getSupportFragmentManager(), ex);
|
||||
grpReady.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}.execute(this, args, "dmarc:decode");
|
||||
@@ -583,7 +583,7 @@ public class ActivityDMARC extends ActivityBase {
|
||||
ssb.append(' ');
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
ssb.append(ex.toString()).append('\n');
|
||||
ssb.append(new ThrowableWrapper(ex).toSafeString()).append('\n');
|
||||
}
|
||||
|
||||
try {
|
||||
@@ -592,7 +592,7 @@ public class ActivityDMARC extends ActivityBase {
|
||||
ssb.append('(').append(info.org).append(") ");
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
ssb.append(ex.toString()).append('\n');
|
||||
ssb.append(new ThrowableWrapper(ex).toSafeString()).append('\n');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -612,7 +612,7 @@ public class ActivityDMARC extends ActivityBase {
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.w(ex);
|
||||
ssb.append(ex.toString()).append('\n');
|
||||
ssb.append(new ThrowableWrapper(ex).toSafeString()).append('\n');
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user