Macro to wrap any code into an Airbrake handler

Your Ring middleware is very convenient. I wanted basically the same thing, but for any block of code - for example, a command-line script. So I extracted the exception-notifying block from Ring middleware and made it available on its own.