lib/cryptum/log.rb in cryptum-0.0.402 vs lib/cryptum/log.rb in cryptum-0.0.403
- old
+ new
@@ -61,10 +61,10 @@
log_event += ' => CTRL+C Detected...Exiting Session.'
logger.level = Logger::WARN
exit_gracefully = true
else
log_event += " => #{msg}"
- log_event += " => #{msg.backtrace}" if msg.respond_to?('backtrace')
+ log_event += " => \n\t#{msg.backtrace.join("\n\t")}\n\n\n" if msg.respond_to?('backtrace')
end
logger.add(logger.level, log_event, which_self)
Cryptum::UI::Exit.gracefully(event_history: event_history) if exit_gracefully