1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Merge pull request #58 from owncloud/extra_log_message

Extra log message (originally in #48)
This commit is contained in:
David A. Velasco 2015-04-09 14:20:26 +02:00
commit 8850a81222

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") + ")";