From a70dfdc8b860b9a8a6472cb0b7d57b02c3cf5287 Mon Sep 17 00:00:00 2001 From: AsamK Date: Fri, 28 May 2021 18:09:41 +0200 Subject: [PATCH] Fix error message --- src/main/java/org/asamk/signal/commands/AddDeviceCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/commands/AddDeviceCommand.java b/src/main/java/org/asamk/signal/commands/AddDeviceCommand.java index 83952aa3..df46f1a7 100644 --- a/src/main/java/org/asamk/signal/commands/AddDeviceCommand.java +++ b/src/main/java/org/asamk/signal/commands/AddDeviceCommand.java @@ -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.");