Skip to content

Commit

Permalink
Merge pull request #51 from byohay/feature/fix-exit-codes-on-exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
byohay committed Mar 7, 2022
2 parents 30dfc00 + ee5ffd9 commit 95fd04c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/kintsugi
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ begin
command.action.call(options, ARGV)
rescue ArgumentError => e
puts "#{e.class}: #{e}"
exit(1)
rescue Kintsugi::MergeError => e
puts e
exit(1)
end

0 comments on commit 95fd04c

Please sign in to comment.