From 5268db3393f38e54b9eecdc4d892823f8341591c Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Fri, 13 Jan 2017 20:26:29 +0100 Subject: [PATCH] at least crash with better stack trace in ImportOperation --- .../sufficientlysecure/keychain/operations/ImportOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/ImportOperation.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/ImportOperation.java index 2d38533e4..d465bde04 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/ImportOperation.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/ImportOperation.java @@ -512,7 +512,7 @@ public class ImportOperation extends BaseOperation { // Since serialKeyRingImport does not throw any exceptions, this is what // would have happened if // we were importing the key on this thread - throw new RuntimeException(); + throw new RuntimeException(e); } } }