Simplified unsubscribe status

This commit is contained in:
M66B
2025-11-13 16:55:33 +01:00
parent b69c395786
commit e64b120b1f

View File

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