diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-02-26 16:57:10 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-02-26 16:57:10 +0200 |
commit | 3073f1aa6e8658825af739440f7288deeef9169d (patch) | |
tree | ced0db5a6f9b724af30ccf11b6c5ee23290509ba /app | |
parent | 4b998239a3fec56f93e24ca063d1196416aec938 (diff) | |
download | gitlab-ce-3073f1aa6e8658825af739440f7288deeef9169d.tar.gz |
Handle excpetion in PluginWorker
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/workers/plugin_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/plugin_worker.rb b/app/workers/plugin_worker.rb index 34a3c8d62ac..cebdf8d0017 100644 --- a/app/workers/plugin_worker.rb +++ b/app/workers/plugin_worker.rb @@ -5,5 +5,7 @@ class PluginWorker def perform(file_name, data) Gitlab::Plugin.execute(file_name, data) + rescue => e + Rails.logger.error("#{self.class}: #{e.message}") end end |