From 5f30009e72bfe86e77e62b5aaa15c2099993bb6b Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 26 Jan 2026 17:24:25 -0300 Subject: [PATCH] decode: print error when failed. --- decode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode.go b/decode.go index 06c5f1a..aa42313 100644 --- a/decode.go +++ b/decode.go @@ -86,7 +86,7 @@ var decode = &cli.Command{ continue } - ctx = lineProcessingError(ctx, "couldn't decode input '%s'", input) + ctx = lineProcessingError(ctx, "couldn't decode input '%s': %s", input, err) } exitIfLineProcessingError(ctx)