Always show updater errors

This commit is contained in:
Federico Cecchetto
2022-06-25 18:36:23 +02:00
parent a91cb5c8e7
commit 28b4514342
2 changed files with 2 additions and 6 deletions

View File

@ -27,6 +27,7 @@
#define DATA_PATH_DEV "data-dev/"
#define ERR_UPDATE_CHECK_FAIL "Failed to check for updates"
#define ERR_UPDATE_CHECK_FAIL_BAD_RESPONSE "Bad response"
#define ERR_DOWNLOAD_FAIL "Failed to download file "
#define ERR_WRITE_FAIL "Failed to write file "
@ -345,7 +346,7 @@ namespace updater
if (!j.IsArray())
{
set_update_check_status(true, false, ERR_UPDATE_CHECK_FAIL);
set_update_check_status(true, false, ERR_UPDATE_CHECK_FAIL_BAD_RESPONSE);
return;
}