seattlerb/sysloglogger — Issue #2: throws yield exceptions in production
Author: patrickhno
Created: 2011-11-17 16:17:19+00:00
State: open

I just tried sysloglogger in production and immediately had to rollback due to a exception thrown by this line within syslog_logger.rb:

SYSLOG.#{LOGGER_MAP[meth]} clean(message || yield)

It may be related to the model class where logger was used is not a activerecord model, but a mongoid model.

I did not keep the exception output unfortunately but it was related to the yield. Possibly not having a code block to yield to?

Any theories?