]> nmode's Git Repositories - signal-cli/blobdiff - src/main/java/org/asamk/signal/commands/AddDeviceCommand.java
Add sendTyping command
[signal-cli] / src / main / java / org / asamk / signal / commands / AddDeviceCommand.java
index 83952aa39a1c70eeed5e6a27192f92edc1341976..df46f1a7a7dbcb7688312ac0cb6fe6d995dab756 100644 (file)
@@ -36,7 +36,7 @@ public class AddDeviceCommand implements LocalCommand {
             logger.error("Add device link failed", e);
             throw new IOErrorException("Add device link failed");
         } catch (URISyntaxException e) {
-            throw new UserErrorException("Device link uri has invalid format: {}" + e.getMessage());
+            throw new UserErrorException("Device link uri has invalid format: " + e.getMessage());
         } catch (InvalidKeyException e) {
             logger.error("Add device link failed", e);
             throw new UnexpectedErrorException("Add device link failed.");