]> git.basschouten.com Git - openhab-addons.git/commitdiff
Wrong exception catched (#17217)
authorGaël L'hopital <gael@lhopital.org>
Thu, 8 Aug 2024 14:40:29 +0000 (16:40 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Aug 2024 14:40:29 +0000 (16:40 +0200)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
bundles/org.openhab.binding.freeboxos/src/main/java/org/openhab/binding/freeboxos/internal/api/rest/PlayerManager.java

index d8ba8698a71733d780009253fbffe3dfa7f9d670..958dfcf9def793275aac281eee66a9ba2312a474 100644 (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
         }
     }