1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-07-26 03:07:18 +00:00

added log message for ResultCode.FILE_NOT_FOUND

This commit is contained in:
LukeOwncloud 2014-12-12 14:39:22 +01:00
parent 8261865ff2
commit 4f52b875d1

View File

@ -350,6 +350,8 @@ public class RemoteOperationResult implements Serializable {
return "Authenticated with a different account than the one updating"; return "Authenticated with a different account than the one updating";
} else if (mCode == ResultCode.INVALID_CHARACTER_IN_NAME) { } else if (mCode == ResultCode.INVALID_CHARACTER_IN_NAME) {
return "The file name contains an forbidden character"; return "The file name contains an forbidden character";
} else if (mCode == ResultCode.FILE_NOT_FOUND) {
return "Local file does not exist";
} }
return "Operation finished with HTTP status code " + mHttpCode + " (" + (isSuccess() ? "success" : "fail") + ")"; return "Operation finished with HTTP status code " + mHttpCode + " (" + (isSuccess() ? "success" : "fail") + ")";