1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-07-23 18:06:17 +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,7 +350,9 @@ public class RemoteOperationResult implements Serializable {
return "Authenticated with a different account than the one updating";
} else if (mCode == ResultCode.INVALID_CHARACTER_IN_NAME) {
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") + ")";