mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-10 04:12:15 +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:
parent
389a781de3
commit
1bc1a4f1b9
@ -181,7 +181,11 @@
|
|||||||
/* [edsm.py] */
|
/* [edsm.py] */
|
||||||
"Error: EDSM {MSG}" = "Error: EDSM {MSG}";
|
"Error: EDSM {MSG}" = "Error: EDSM {MSG}";
|
||||||
|
|
||||||
|
|
||||||
/* Raised when cannot contact the Companion API server. [companion.py] */
|
/* 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";
|
"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] */
|
/* Raised when Companion API server is returning old data, e.g. when the servers are too busy. [companion.py] */
|
||||||
|
@ -169,7 +169,7 @@ class ServerError(Exception):
|
|||||||
# Raised when cannot contact the Companion API server
|
# Raised when cannot contact the Companion API server
|
||||||
self.args = args
|
self.args = args
|
||||||
if not args:
|
if not args:
|
||||||
self.args = (_('Error: Frontier server is down'),)
|
self.args = (_("Error: Frontier CAPI didn't respond"),)
|
||||||
|
|
||||||
|
|
||||||
class ServerLagging(Exception):
|
class ServerLagging(Exception):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user