summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-07-18 16:09:14 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-07-26 12:47:50 +0100
commitb5bdc55d239f3e19f8fe1e59b118da05ac81a0dd (patch)
tree507f7b46386d518cdb7b77fa4048d7f4d77eec37 /app/workers
parent0aa8249e484ca97cfc28c7301d69077919032c08 (diff)
downloadgitlab-ce-b5bdc55d239f3e19f8fe1e59b118da05ac81a0dd.tar.gz
Move exception handling to execute
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/project_destroy_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/project_destroy_worker.rb b/app/workers/project_destroy_worker.rb
index e695ec060f0..a9188b78460 100644
--- a/app/workers/project_destroy_worker.rb
+++ b/app/workers/project_destroy_worker.rb
@@ -8,6 +8,6 @@ class ProjectDestroyWorker
::Projects::DestroyService.new(project, user, params.symbolize_keys).execute
rescue ActiveRecord::RecordNotFound => error
- logger.error("Failed to delete project #{project.path_with_namespace} (#{project.id}): #{error.message}")
+ logger.error("Failed to delete project (#{project_id}): #{error.message}")
end
end