summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/plugin_worker.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/workers/plugin_worker.rb b/app/workers/plugin_worker.rb
index 34a3c8d62ac..bfcc683d99a 100644
--- a/app/workers/plugin_worker.rb
+++ b/app/workers/plugin_worker.rb
@@ -4,6 +4,12 @@ class PluginWorker
sidekiq_options retry: false
def perform(file_name, data)
- Gitlab::Plugin.execute(file_name, data)
+ success, message = Gitlab::Plugin.execute(file_name, data)
+
+ unless success
+ Gitlab::PluginLogger.error("Plugin Error => #{file_name}: #{message}")
+ end
+
+ true
end
end