Logging Airbrake error ids in Rack or Sinatra

For more information, please refer to Mark Campbell’s excellent tutorial on Logging Airbrake Error IDs in Rack or Sinatra.