aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'activejob/Rakefile')
-rw-r--r--activejob/Rakefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/activejob/Rakefile b/activejob/Rakefile
index 2b9f89853f..037e84fca9 100644
--- a/activejob/Rakefile
+++ b/activejob/Rakefile
@@ -68,11 +68,9 @@ def run_without_aborting(tasks)
errors = []
tasks.each do |task|
- begin
- Rake::Task[task].invoke
- rescue Exception
- errors << task
- end
+ Rake::Task[task].invoke
+ rescue Exception
+ errors << task
end
abort "Errors running #{errors.join(', ')}" if errors.any?