1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-14 08:17:13 +03:00

CAPI: EDMarketConnector: Set status text on ServerConnectionError

This commit is contained in:
Athanasius 2021-08-26 15:00:16 +01:00
parent 0637873b91
commit 885745197c
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -1105,6 +1105,9 @@ class AppWindow(object):
# TODO: Set status text
return
except companion.ServerConnectionError:
self.status['text'] = _('Frontier CAPI server error')
except companion.CredentialsError:
# Redirected back to Auth server - force full re-authentication
companion.session.invalidate()