lib/console/event/failure.rb in console-1.23.6 vs lib/console/event/failure.rb in console-1.23.7
- old
+ new
@@ -53,10 +53,10 @@
end
root_pattern = /^#{@root}\// if @root
exception.backtrace&.each_with_index do |line, index|
- path, offset, message = line.split(":")
+ path, offset, message = line.split(":", 3)
style = :exception_backtrace
# Make the path a bit more readable
if root_pattern and path.sub!(root_pattern, "").nil?
style = :exception_backtrace_other