mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 05:16:15 +03:00
Do not break push on error (see #713)
Removed 507 handling on pulling changes since pulling shouldn't change the server state and therefore never return a 507 HTTP Signed-off-by: stefan-niedermann <info@niedermann.it>
This commit is contained in:
parent
d6aef638e2
commit
ae6d1629ee
1 changed files with 0 additions and 3 deletions
|
@ -435,9 +435,6 @@ public class NoteServerSyncHelper {
|
|||
Log.d(TAG, "Server returned HTTP Status Code " + e.getStatusCode() + " - " + e.getMessage());
|
||||
if (e.getStatusCode() == 304) {
|
||||
return LoginStatus.OK;
|
||||
} else if (e.getStatusCode() == 507) {
|
||||
exceptions.add(e);
|
||||
return LoginStatus.INSUFFICIENT_STORAGE;
|
||||
} else {
|
||||
exceptions.add(e);
|
||||
return LoginStatus.JSON_FAILED;
|
||||
|
|
Loading…
Reference in a new issue