system-info: show better message when cannot fetch info about gunicorn workers

This commit is contained in:
Marcin Kuzminski 2017-03-23 17:44:51 +01:00
parent dcf99f8ec7
commit f5efab079d

View file

@ -513,7 +513,7 @@ def vcs_server():
if data and 'config' in data:
conf = data['config']
workers = conf.get('workers', '?')
workers = conf.get('workers', 'NOT AVAILABLE')
connection = 'connected'
except Exception as e: