1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

updated openlab + handle missing dev instance

This commit is contained in:
Sylvain 2021-04-06 14:58:12 +02:00
parent e06f3beeab
commit 3483e1355c
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,7 @@
# Changelog Fab-manager
- Updated dependency to OpenLab
- Prevent the worker from crashing if OpenLab is not reachable in dev
- Fix a bug: the notification sent to the project author when a collaborator has confirmed his participation is not sent
## v4.7.8 2021 April 02

View File

@ -154,7 +154,7 @@ GEM
hashery (2.1.2)
hashie (4.1.0)
htmlentities (4.3.4)
httparty (0.18.0)
httparty (0.18.1)
mime-types (~> 3.0)
multi_xml (>= 0.5.2)
i18n (1.8.9)
@ -200,7 +200,7 @@ GEM
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.0512)
mime-types-data (3.2021.0225)
mimemagic (0.3.10)
nokogiri (~> 1)
rake
@ -241,7 +241,7 @@ GEM
omniauth-rails_csrf_protection (0.1.2)
actionpack (>= 4.2)
omniauth (>= 1.3.1)
openlab_ruby (0.0.4)
openlab_ruby (0.0.5)
httparty (~> 0.13)
orm_adapter (0.5.0)
parallel (1.19.1)

View File

@ -28,5 +28,7 @@ class OpenlabWorker
end
logger.debug ['Openlab sync', 'RESPONSE ERROR', response.inspect] unless response.success?
rescue Errno::ECONNREFUSED => e
logger.warn "Unable to connect to OpenProject, maybe the dev instance is not running: #{e}" if Rails.env.development?
end
end