]> git.openstreetmap.org Git - rails.git/blobdiff - bin/setup
Don't link to trace pages from failed import emails
[rails.git] / bin / setup
index ec47b79b3b3a002be18adafe9a5fcd070bcd808d..b5accee8aca084a9d9d65a33eb4fd995f714eef4 100755 (executable)
--- a/bin/setup
+++ b/bin/setup
@@ -5,7 +5,7 @@ require "fileutils"
 APP_ROOT = File.expand_path("..", __dir__)
 
 def system!(*args)
 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
 end
 
 FileUtils.chdir APP_ROOT do