mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
@@ -48,7 +48,7 @@ def server_is_up(server, log_file):
|
||||
try:
|
||||
# We could get a 501 error if the reverse proxy is up but the Django app isn't.
|
||||
return requests.get('http://127.0.0.1:9981/accounts/home').status_code == 200
|
||||
except:
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
@contextmanager
|
||||
|
||||
Reference in New Issue
Block a user