lib/console/event/failure.rb in console-1.28.1 vs lib/console/event/failure.rb in console-1.29.0
- old
+ new
@@ -26,12 +26,12 @@
end
def self.log(subject, exception, **options)
Console.error(subject, **self.for(exception).to_hash, **options)
end
-
+
attr_reader :exception
-
+
def initialize(exception, root = Dir.getwd)
@exception = exception
@root = root
end