Print stacktrace on error

This commit is contained in:
Lode Hoste 2015-04-12 22:34:09 +02:00
parent dccbbbbd41
commit 10cad9ae37
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public class WebGuiActivity extends SyncthingActivity
mCaCert = (X509Certificate)
cf.generateCertificate(inStream);
} catch (FileNotFoundException|CertificateException e) {
throw new IllegalArgumentException("Untrusted Certificate");
throw new IllegalArgumentException("Untrusted Certificate", e);
} finally {
try {
if (inStream != null)