Skip to content

Commit d3e2430

Browse files
author
rubyist
committed
If a smudge operation fails, the smudge command should exit 1
1 parent f32da15 commit d3e2430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/command_smudge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func smudgeCommand(cmd *cobra.Command, args []string) {
7575

7676
if err != nil {
7777
ptr.Encode(os.Stdout)
78-
LoggedError(err, "Error accessing media: %s (%s)", filename, ptr.Oid)
78+
Panic(err, "Error accessing media: %s (%s)", filename, ptr.Oid)
7979
}
8080
}
8181

0 commit comments

Comments
 (0)