Please sign in to comment.
Don't blindly call blame_file! on exceptions in ActiveSupport::Depend…
…encies::Loadable It is possible under some environments to receive an Exception that is not extended with Blamable (e.g. JRuby). ActiveSupport::Dependencies::Loadable#load_dependency blindly call blame_file! on the exception which throws it's own NoMethodError exception and hides the original Exception. This commit fixes #9521
- Loading branch information...
Showing with 19 additions and 1 deletion.
|@@ -0,0 +1,5 @@|
|+exception = Exception.new('I am not blamable!')|
|+class << exception|