Throwable wrapper

This commit is contained in:
M66B
2023-12-12 20:55:55 +01:00
parent cbcc467408
commit d56b5fa43e
29 changed files with 50 additions and 44 deletions

View File

@@ -522,7 +522,7 @@ public class FragmentOptionsConnection extends FragmentBase implements SharedPre
tm.checkServerTrusted(x509certs.toArray(new X509Certificate[0]), "UNKNOWN");
sb.append("Peer certificate trusted\n");
} catch (Throwable ex) {
sb.append(ex.toString()).append('\n');
sb.append(new ThrowableWrapper(ex).toSafeString()).append('\n');
}
}
} finally {