Open dasgarner opened 2 years ago
Should we add a catch all when trying to create a layout in MainLayoutParser::parseBy(int layoutId)
?
catch (...)
{
throw MainLayoutParser::Error{"LayoutParser", layoutId, "Unknown exception caught by ..."};
}
Should we add a catch all when trying to create a layout in
MainLayoutParser::parseBy(int layoutId)
?catch (...) { throw MainLayoutParser::Error{"LayoutParser", layoutId, "Unknown exception caught by ..."}; }
Yes, error handling should be definitely improved
@dasgarner seems like GIF animations should be handled differently than static images. So the ImageGtk class should be extended to support this feature. Can we mark this issues as enchancement
?
We don't support GIF on the other players as far as I know - so we just need to skip the layout with an appropriate error instead of crashing to the shell.
If you schedule a layout with a GIF on it to the player it crashes to the shell with the following message:
On another PC, the following message is logged and the player remains active: