mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Wrong exception catched (#17217)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
This commit is contained in:
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
Block a user