Simplified unsubscribe status

master
M66B 1 week ago
parent b69c395786
commit e64b120b1f

@ -136,9 +136,8 @@ public class FragmentDialogUnsubscribe extends FragmentDialogBase {
}
if (status >= 300) {
String error = status + ": " + connection.getResponseMessage();
Log.i("Unsubscribe error=" + error);
throw new IllegalArgumentException(error);
Log.w("Unsubscribe status=" + status + " " + connection.getResponseMessage());
throw new IllegalArgumentException("HTTP status " + status);
} else
Log.i("Unsubscribe status=" + status);

Loading…
Cancel
Save