clarify bad respone client type error

This commit is contained in:
Grische
2022-02-19 01:59:11 +01:00
parent 78fb9bfc6c
commit af4902de1a

View File

@@ -55,7 +55,7 @@ public class Error {
// internal error handling
NO_SPACE_LEFT_ON_DEVICE(100),
ERROR_BAD_RESPONSE(101),
ERROR_BAD_UPLOAD_RESPONSE(101),
PATH_INVALID(102),
NO_WRITE_PERMISSION(103),
;
@@ -156,7 +156,7 @@ public class Error {
public static String humanString(Type in) {
switch (in) {
case ERROR_BAD_RESPONSE:
case ERROR_BAD_UPLOAD_RESPONSE:
return "Corrupt response from the server when trying to upload data. The server might be overloaded or be encountering other issues. Will try again in a few minutes.";
case NETWORK_ISSUE:
return "Could not connect to the server, please check your connection to the internet.";