X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/b4311c7b76ba3bc757f9823f589fdd0da722f328..644aacf59516dd1ecafc58878d287557f20dc112:/src/main/java/org/asamk/signal/manager/helper/PinHelper.java diff --git a/src/main/java/org/asamk/signal/manager/helper/PinHelper.java b/src/main/java/org/asamk/signal/manager/helper/PinHelper.java index b4fa04c4..090b20b6 100644 --- a/src/main/java/org/asamk/signal/manager/helper/PinHelper.java +++ b/src/main/java/org/asamk/signal/manager/helper/PinHelper.java @@ -1,6 +1,7 @@ package org.asamk.signal.manager.helper; import org.asamk.signal.manager.util.PinHashing; +import org.whispersystems.libsignal.InvalidKeyException; import org.whispersystems.signalservice.api.KbsPinData; import org.whispersystems.signalservice.api.KeyBackupService; import org.whispersystems.signalservice.api.KeyBackupServicePinException; @@ -82,7 +83,7 @@ public class PinHelper { throw new AssertionError("Null not expected"); } return kbsData; - } catch (UnauthenticatedResponseException e) { + } catch (UnauthenticatedResponseException | InvalidKeyException e) { throw new IOException(e); } }