mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-12 18:00:28 +01:00
Simplified unsubscribe status
This commit is contained in:
@@ -136,9 +136,8 @@ public class FragmentDialogUnsubscribe extends FragmentDialogBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (status >= 300) {
|
if (status >= 300) {
|
||||||
String error = status + ": " + connection.getResponseMessage();
|
Log.w("Unsubscribe status=" + status + " " + connection.getResponseMessage());
|
||||||
Log.i("Unsubscribe error=" + error);
|
throw new IllegalArgumentException("HTTP status " + status);
|
||||||
throw new IllegalArgumentException(error);
|
|
||||||
} else
|
} else
|
||||||
Log.i("Unsubscribe status=" + status);
|
Log.i("Unsubscribe status=" + status);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user