decode: print error when failed.

This commit is contained in:
fiatjaf
2026-01-26 17:24:25 -03:00
parent 548918578b
commit 5f30009e72

View File

@@ -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)