1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-15 08:40:34 +03:00

Switched logs to warning

This commit is contained in:
A_D 2021-06-07 19:07:24 +02:00
parent a79cde641e
commit 09a0b70891
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4
2 changed files with 2 additions and 2 deletions

View File

@ -980,7 +980,7 @@ class AppWindow(object):
self.login()
except companion.ServerConnectionError as e:
logger.debug(f'Exception while contacting server: {e}')
logger.warning(f'Exception while contacting server: {e}')
err = self.status['text'] = str(e)
play_bad = True

View File

@ -542,7 +542,7 @@ class Session(object):
r = self.session.get(self.server + endpoint, timeout=timeout) # type: ignore
except requests.ConnectionError as e:
logger.debug(f'Unable to resolve name for CAPI: {e} (for request: {endpoint})')
logger.warning(f'Unable to resolve name for CAPI: {e} (for request: {endpoint})')
raise ServerConnectionError(f'Unable to connect to endpoint {endpoint}') from e
except Exception as e: