Wrong exception catched (#17217)

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
This commit is contained in:
Gaël L'hopital 2024-08-08 16:40:29 +02:00 committed by Laurent Garnier
parent abef91cfac
commit b738270f0a

View File

@ -245,7 +245,7 @@ public class PlayerManager extends ListableRest<PlayerManager.Player, PlayerMana
}
try {
session.execute(uriBuilder.build(), HttpMethod.GET, GenericResponse.class, null);
} catch (FreeboxException ignore) {
} catch (IllegalArgumentException | FreeboxException ignore) {
// This call does not return anything, we can safely ignore
}
}