From bc68f2cc1b3ba10d4cc7a29397ac826f1a83a6a4 Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sun, 27 Aug 2017 11:46:14 +0200 Subject: [PATCH] Better log output. --- .../java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java b/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java index 15ab5a7b32..9f390d87f5 100644 --- a/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java +++ b/app/src/main/java/de/jotomo/ruffyscripter/commands/SetTbrCommand.java @@ -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