From 0fbf4e7221a8ee29d07ee79e5f118e59332412a7 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Wed, 10 Jun 2020 16:44:48 +0300 Subject: [PATCH] Tweak log message --- commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index 3fad166..4626ac6 100644 --- a/commands.go +++ b/commands.go @@ -16,7 +16,7 @@ func usePrecise(dur time.Duration) bool { func formatMs(dur time.Duration) int64 { if dur > 0 && dur < time.Millisecond { internal.Logger.Printf( - "specified duration is %s, but minimal supported value is %s - truncate to 1", + "specified duration is %s, but minimal supported value is %s - truncating to 1s", dur, time.Millisecond, ) return 1 @@ -27,7 +27,7 @@ func formatMs(dur time.Duration) int64 { func formatSec(dur time.Duration) int64 { if dur > 0 && dur < time.Second { internal.Logger.Printf( - "specified duration is %s, but minimal supported value is %s - truncate to 1", + "specified duration is %s, but minimal supported value is %s - truncating to 1s", dur, time.Second, ) return 1