Wrong exception catched (#17217)

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Gaël L'hopital 2024-08-08 16:40:29 +02:00 committed by Ciprian Pascu
parent 833724b8b1
commit 4e9d6d6890

View File

@ -246,7 +246,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
}
}