From 11133f309d11a4ae41169b74a622d6a7fd70a0e6 Mon Sep 17 00:00:00 2001 From: 0xboobface <0xboobface@gmail.com> Date: Fri, 16 Nov 2018 11:13:26 +0100 Subject: [PATCH] Catch all exceptions in startPlayer() --- src/main/java/ctbrec/ui/ThumbCell.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/ctbrec/ui/ThumbCell.java b/src/main/java/ctbrec/ui/ThumbCell.java index 1a58e37d..d9fd739f 100644 --- a/src/main/java/ctbrec/ui/ThumbCell.java +++ b/src/main/java/ctbrec/ui/ThumbCell.java @@ -13,7 +13,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.iheartradio.m3u8.ParseException; -import com.iheartradio.m3u8.PlaylistException; import ctbrec.Config; import ctbrec.Model; @@ -317,7 +316,7 @@ public class ThumbCell extends StackPane { alert.showAndWait(); }); } - } catch (IOException | ExecutionException | ParseException | PlaylistException | InterruptedException e1) { + } catch (Exception e1) { LOG.error("Couldn't get stream information for model {}", model, e1); Platform.runLater(() -> { Alert alert = new AutosizeAlert(Alert.AlertType.ERROR);