added the OS version and application version to the api request payload (#810)
* added the OS version and application version to the api request payload * added errorStrings for new api error codes
This commit is contained in:
parent
b71dcb8dd0
commit
2254bfc128
2 changed files with 11 additions and 0 deletions
|
@ -57,6 +57,9 @@ QString errorString(ErrorCode code) {
|
|||
// Api errors
|
||||
case (ApiConfigDownloadError): errorMessage = QObject::tr("Error when retrieving configuration from API"); break;
|
||||
case (ApiConfigAlreadyAdded): errorMessage = QObject::tr("This config has already been added to the application"); break;
|
||||
case (ApiConfigEmptyError): errorMessage = QObject::tr("In the response from the server, an empty config was received"); break;
|
||||
case (ApiConfigSslError): errorMessage = QObject::tr("SSL error occurred"); break;
|
||||
case (ApiConfigTimeoutError): errorMessage = QObject::tr("Server response timeout on api request"); break;
|
||||
|
||||
// QFile errors
|
||||
case(OpenError): errorMessage = QObject::tr("QFile error: The file could not be opened"); break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue