clarify bad respone client type error
This commit is contained in:
@@ -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.";
|
||||
|
||||
Reference in New Issue
Block a user