lib/daemon_logger.rb in game-server-0.4.10 vs lib/daemon_logger.rb in game-server-0.4.11
- 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(exception).deliver
+ ExceptionNotifier::Notifier.notify_exception(exception)
end
def with_exception_logging
yield