lib/boson/manager.rb in boson-0.2.2 vs lib/boson/manager.rb in boson-0.2.3

- old
+ new

@@ -42,10 +42,10 @@ rescue AppendFeaturesFalseError rescue LoaderError=>e FileLibrary.reset_file_cache(library.to_s) failed_libraries << library $stderr.puts "Unable to #{load_method} library #{library}. Reason: #{e.message}" - rescue Exception=>e + rescue StandardError=>e FileLibrary.reset_file_cache(library.to_s) failed_libraries << library message = "Unable to #{load_method} library #{library}. Reason: #{$!}" message += "\n" + e.backtrace.slice(0,3).map {|e| " " + e }.join("\n") if @options[:verbose] $stderr.puts message \ No newline at end of file