lib/daemon_logger.rb in game-server-0.4.6 vs lib/daemon_logger.rb in game-server-0.4.7

- old
+ new

@@ -72,10 +72,10 @@ #{exception.backtrace.join("\n")} EOF # DaemonLogger.instance.send_emails_to_receivers(message) if send_mail log(message, :error) - ExceptionNotifier::Notifier.background_exception_notification(e).deliver + ExceptionNotifier::Notifier.background_exception_notification(exception).deliver end def with_exception_logging yield