Skip to content

Commit edddd11

Browse files
committed
Do not throw on unsupported operation
1 parent 730c7ed commit edddd11

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

core/src/main/java/xyz/gianlu/librespot/player/StateWrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,8 @@ public void onMessage(@NotNull String uri, @NotNull Map<String, String> headers,
603603
case MOV:
604604
case UPDATE_ITEM_ATTRIBUTES:
605605
case UPDATE_LIST_ATTRIBUTES:
606-
throw new UnsupportedOperationException(TextFormat.shortDebugString(op));
606+
LOGGER.warn("Unsupported operation: " + TextFormat.shortDebugString(op));
607+
break;
607608
default:
608609
case KIND_UNKNOWN:
609610
LOGGER.warn("Received unknown op: " + op.getKind());

0 commit comments

Comments
 (0)