Modern applications often have multiple entry-points to a single codebase, for example your Rails application code could be executing from an Nginx web server, a rake command-line task, or a queued task such as a Sidekiq job. Your application could encounter the same error in any one of these, and it is important to know exactly where.
Bugsnag will now detect and show you whether each error affected a background job, cron job or web server, with our new “App Types” feature!
We are launching today with comprehensive Ruby support for automatically detecting Rails, Sinatra, Rack, Mailman, Sidekiq, Resque, or Rake application types.
You can also manually set the application type if we don’t automatically support the one you need. See the full Ruby documentation for more details.
We’ve also launched support for this in our PHP notifier, and we will roll out further support in our other notifiers soon!