forked from j62/ctbrec
1
0
Fork 0

Catch all exceptions in startPlayer()

This commit is contained in:
0xboobface 2018-11-16 11:13:26 +01:00
parent 1237476d31
commit 11133f309d
1 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import com.iheartradio.m3u8.ParseException; import com.iheartradio.m3u8.ParseException;
import com.iheartradio.m3u8.PlaylistException;
import ctbrec.Config; import ctbrec.Config;
import ctbrec.Model; import ctbrec.Model;
@ -317,7 +316,7 @@ public class ThumbCell extends StackPane {
alert.showAndWait(); alert.showAndWait();
}); });
} }
} catch (IOException | ExecutionException | ParseException | PlaylistException | InterruptedException e1) { } catch (Exception e1) {
LOG.error("Couldn't get stream information for model {}", model, e1); LOG.error("Couldn't get stream information for model {}", model, e1);
Platform.runLater(() -> { Platform.runLater(() -> {
Alert alert = new AutosizeAlert(Alert.AlertType.ERROR); Alert alert = new AutosizeAlert(Alert.AlertType.ERROR);