Displaying 1 result from an estimated 1 matches for "log_except".
2007 Apr 24
0
Bug in Rails worker creation through scheduler
...files, no errors on
the console, no hints whatsoever about what went wrong. So I filled
up the code with logging statements and tracked down the problem to
line 48 of server/lib/backgroundrb/scheduler.rb.
The following statement in that line is bogus:
47:rescue
48: BackgrounDRb::ServerLogger.log_exception(''scheduler'', e)
49:end
Since there''s no e defined in the rescue statement, the above
statement fails badly and therefore nothing gets logged anywhere.
The fix is to either use this style:
47:rescue
48: BackgrounDRb::ServerLogger.log_exception(''scheduler...