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

CAPI: Changed "CAPI down" message to be specific

The old "Error: Frontier server is down" can easily be confused as "game
servers are down".  The new version calls out the CAPI specifically.

Closes #585
This commit is contained in:
Athanasius 2021-05-17 12:10:08 +01:00
parent 389a781de3
commit 1bc1a4f1b9
2 changed files with 5 additions and 1 deletions

View File

@ -181,7 +181,11 @@
/* [edsm.py] */
"Error: EDSM {MSG}" = "Error: EDSM {MSG}";
/* Raised when cannot contact the Companion API server. [companion.py] */
"Error: Frontier CAPI didn't respond" = "Error: Frontier CAPI didn't respond";
/* OLD: Raised when cannot contact the Companion API server. [companion.py] */
"Error: Frontier server is down" = "Error: Frontier server is down";
/* Raised when Companion API server is returning old data, e.g. when the servers are too busy. [companion.py] */

View File

@ -169,7 +169,7 @@ class ServerError(Exception):
# Raised when cannot contact the Companion API server
self.args = args
if not args:
self.args = (_('Error: Frontier server is down'),)
self.args = (_("Error: Frontier CAPI didn't respond"),)
class ServerLagging(Exception):