lib/protonbot/plug.rb in protonbot-0.2.2 vs lib/protonbot/plug.rb in protonbot-0.2.3

- old
+ new

@@ -104,9 +104,10 @@ # Logs given error object to cosole # @param e [Exception] # @return [Plug] self def log_err(e) @log.error('Error!') + @log.error("> Inspect: #{e.inspect}") @log.error("> Message: #{e.message}") @log.error('> Backtrace:') e.backtrace.each do |i| @log.error(">> #{i}") end