|
@ -170,7 +170,7 @@ class BasicFormatter < SemanticLogger::Formatters::Color # rubocop:disable Metri |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
def backtrace(stack) |
|
|
def backtrace(stack) |
|
|
nil unless stack.count.positive? |
|
|
|
|
|
|
|
|
return unless stack.count.positive? |
|
|
|
|
|
|
|
|
"\n#{before_message} #{ANSI_ERROR}↳ #{stack.join("\n#{before_message} #{ANSI_ERROR}↳ ")}#{color_map.clear}" |
|
|
"\n#{before_message} #{ANSI_ERROR}↳ #{stack.join("\n#{before_message} #{ANSI_ERROR}↳ ")}#{color_map.clear}" |
|
|
end |
|
|
end |
|
|