Skip to content

Commit

Permalink
Merge pull request rails#46064 from k0kubun/system-exception-true
Browse files Browse the repository at this point in the history
Improve error messages on bin/setup
  • Loading branch information
eileencodes committed Sep 19, 2022
2 parents 6b246e9 + 24fbbe0 commit 83f32f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require "fileutils"
APP_ROOT = File.expand_path("..", __dir__)

def system!(*args)
system(*args) || abort("\n== Command #{args} failed ==")
system(*args, exception: true)
end

FileUtils.chdir APP_ROOT do
Expand Down

0 comments on commit 83f32f6

Please sign in to comment.