From: AsamK Date: Fri, 28 May 2021 16:09:41 +0000 (+0200) Subject: Fix error message X-Git-Tag: v0.8.4~15 X-Git-Url: https://git.nmode.ca/signal-cli/commitdiff_plain/a70dfdc8b860b9a8a6472cb0b7d57b02c3cf5287?ds=sidebyside Fix error message --- 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.");