Ah, good point. What api should we use? The way the rack integration works requires a transaction.current, which does not seem thread-safe to me. Another option would be to inline the code from send_exception, and add env to it of course, but that seems suboptimal. Is there another api call which I can use?