diff --git a/src/main/java/de/unistuttgart/memorybackend/service/ConfigService.java b/src/main/java/de/unistuttgart/memorybackend/service/ConfigService.java index a9b2005..97f263d 100644 --- a/src/main/java/de/unistuttgart/memorybackend/service/ConfigService.java +++ b/src/main/java/de/unistuttgart/memorybackend/service/ConfigService.java @@ -88,7 +88,7 @@ public Configuration getAllConfigurations(final UUID id, final String accessToke try { volumeLevel = Integer.parseInt(keyBindingVolumeLevel.getKey()); } catch (NumberFormatException e) { - throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "Invalid volume level format" + keyBindingVolumeLevel.getKey()); + throw new ResponseStatusException(HttpStatus.BAD_REQUEST, "Invalid volume level format."); } }