← All platforms

DelayedJob error tracking

The job was delayed. Finding out why it failed shouldn’t be. The Sentry DelayedJob integration sends Ruby error reports to Telebugs on your server.

~/hoofnotes  bundle add sentry-ruby sentry-delayed_job
~/hoofnotes  nvim config/initializers/sentry.rb
require "sentry-ruby"
require "sentry-delayed_job"
Sentry.init do |config|
# Copy the complete Telebugs DSN, key and path included.
config.dsn = "YOUR_TELEBUGS_DSN"
end
~/hoofnotes  bundle exec rails jobs:work

Space pauses or resumes. R replays. Escape shows the complete setup.

Hang on, I already use Sentry

Keep sentry-delayed_job and change its destination to your Telebugs DSN. Your error reports stay on your server. You don’t need a Sentry account.

Do I have to wrap every perform method?

No. The DelayedJob integration connects reporting to the worker. Job exceptions can reach Telebugs without adding the same rescue block to every job.

Can I see my Rails errors here too?

Yes. The Rails integration handles web requests, while the worker integration handles jobs. Both can report to the same Telebugs server.