Wrong exception catched (#17217)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>pull/17222/head^2
parent
81251c3b35
commit
ee50c89c52
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue