diff options
author | Stan Hu <stanhu@gmail.com> | 2017-08-24 12:24:58 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-08-25 05:27:42 -0700 |
commit | 32b688e78572803f4557c5f78d1585b3ca6e8fbd (patch) | |
tree | edeae0bf1d7dbb055c57af392d95a9e9bbd196f3 /app/workers/group_destroy_worker.rb | |
parent | c842e29aada60419c0a978ed4cd931ed590d5292 (diff) | |
download | gitlab-ce-32b688e78572803f4557c5f78d1585b3ca6e8fbd.tar.gz |
Enable 5 lines of Sidekiq backtrace lines to aid in debuggingsh-sidekiq-backtrace
Customers often have Sidekiq jobs that failed without much context. Without
Sentry, there's no way to tell where these exceptions were hit. Adding
in additional lines adds a bit more Redis storage overhead. This commit
adds in backtrace logging for workers that delete groups/projects and
import/export projects.
Closes #27626
Diffstat (limited to 'app/workers/group_destroy_worker.rb')
-rw-r--r-- | app/workers/group_destroy_worker.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/group_destroy_worker.rb b/app/workers/group_destroy_worker.rb index 07e82767b06..bd8e212e928 100644 --- a/app/workers/group_destroy_worker.rb +++ b/app/workers/group_destroy_worker.rb @@ -1,6 +1,7 @@ class GroupDestroyWorker include Sidekiq::Worker include DedicatedSidekiqQueue + include ExceptionBacktrace def perform(group_id, user_id) begin |