Oh, I see the answer on my previous comment.
Can you please search/replace everywhere e.backtrace.inspect -> e.backtrace.join("\n") as it provides much better logging?