Simplified unsubscribe status

master
M66B 1 week ago
parent b69c395786
commit e64b120b1f

@ -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);

Loading…
Cancel
Save