aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-21 21:16:38 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-21 21:16:38 +0200
commit33e18bb442e2dd3403ba5554c25d6109cfccac73 (patch)
treeb795a5bc5e49390401e0ca8c89e05521adb874b5 /src/main/java/de/pixart
parentdb00fd2b439bf70d23ab0d488c53fee92b9a6b6b (diff)
try to fix a crash during OTR verify
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r--src/main/java/de/pixart/messenger/ui/VerifyOTRActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/VerifyOTRActivity.java b/src/main/java/de/pixart/messenger/ui/VerifyOTRActivity.java
index d31c9aa60..e5367d567 100644
--- a/src/main/java/de/pixart/messenger/ui/VerifyOTRActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/VerifyOTRActivity.java
@@ -203,6 +203,10 @@ public class VerifyOTRActivity extends XmppActivity implements XmppConnectionSer
return false;
}
} catch (final IllegalArgumentException ignored) {
+ ignored.printStackTrace();
+ return false;
+ } catch (Exception e) {
+ e.printStackTrace();
return false;
}
this.mode = intent.getIntExtra("mode", MODE_MANUAL_VERIFICATION);