diff options
-rw-r--r-- | bazarr/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bazarr/main.py b/bazarr/main.py index 2b791e391..62d2b18eb 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -187,9 +187,11 @@ def proxy(protocol, url): version = result.json()['version'] return dict(status=True, version=version) except Exception: - return dict(status=False, error='Error Occured. Check your settings.') + return dict(status=False, error='Error Occurred. Check your settings.') elif result.status_code == 401: return dict(status=False, error='Access Denied. Check API key.') + elif result.status_code == 404: + return dict(status=False, error='Cannot get version. Maybe unsupported legacy API call?') elif 300 <= result.status_code <= 399: return dict(status=False, error='Wrong URL Base.') else: |