mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 11:00:38 +00:00
Remove error handling for oracle unlimited crypto issue
This commit is contained in:
parent
0a63dd1db4
commit
357e278f48
11 changed files with 5 additions and 65 deletions
|
@ -17,8 +17,6 @@ import org.whispersystems.libsignal.InvalidKeyException;
|
|||
import java.io.IOException;
|
||||
import java.util.concurrent.TimeoutException;
|
||||
|
||||
import static org.asamk.signal.util.ErrorUtils.handleAssertionError;
|
||||
|
||||
public class LinkCommand implements ProvisioningCommand {
|
||||
|
||||
private final static Logger logger = LoggerFactory.getLogger(LinkCommand.class);
|
||||
|
@ -45,9 +43,6 @@ public class LinkCommand implements ProvisioningCommand {
|
|||
throw new UserErrorException("Link request timed out, please try again.");
|
||||
} catch (IOException e) {
|
||||
throw new IOErrorException("Link request error: " + e.getMessage());
|
||||
} catch (AssertionError e) {
|
||||
handleAssertionError(e);
|
||||
throw e;
|
||||
} catch (InvalidKeyException e) {
|
||||
logger.debug("Finish device link failed", e);
|
||||
throw new UnexpectedErrorException("Invalid key: " + e.getMessage());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue