airbrake/airbrake — Issue #22: Use faraday to allow EM HTTP backends
Author: betamatt
Created: 2011-10-10 13:39:01+00:00
State: open

I've run into a case where I have an EventMachine app that doesn't want to block while delivering Airbrake notices. Normally, I fix this by queuing the notice. However, this app is very thin and doesn't require messaging for anything else. It would be really heavy to run queueing infrastructure just for the occasional exception notice.

The obvious solution is for Airbrake to use faraday so that the backend can be switched from net_http to em-synchrony. However, this introduces a dependency that you may be trying to avoid. Is that the case or would you accept a patch?