Skip to content
Browse files

rescue exception in specs since LoadError doesn't get rescued by default

  • Loading branch information...
1 parent db99c6c commit 3c7fa7cfc0296b5d34ebc35a47a6c021954aff82 @bkeepers bkeepers committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
2 spec/spec_helper.rb
@@ -20,7 +20,7 @@
require "setup/#{backend}"
require "backend/#{backend}_job_spec"
BACKENDS << backend.to_sym
- rescue
+ rescue Exception
puts "Unable to load #{backend} backend: #{$!}"
end
end

0 comments on commit 3c7fa7c

Please sign in to comment.
Something went wrong with that request. Please try again.