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 GitHub
parent 81251c3b35
commit ee50c89c52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
}
}