Better log output.

This commit is contained in:
Johannes Mockenhaupt 2017-08-27 11:46:14 +02:00
parent 99b98f1dec
commit bc68f2cc1b
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -185,7 +185,7 @@ public class SetTbrCommand extends BaseCommand {
long displayedDuration = scripter.readDisplayedDuration();
if (displayedDuration != duration) {
log.debug("Final displayed TBR duration: " + displayedDuration);
throw new CommandException().message("Failed to set TBR duration");
throw new CommandException().message("Failed to set TBR duration, requested: " + duration + ", actual: " + displayedDuration);
}
// check again to ensure the displayed value hasn't change due to due scrolling taking extremely long