Wrong exception catched (#17217)

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
pull/17222/head^2
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
1 changed files with 1 additions and 1 deletions

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