ebu / ebu-tt-live-toolkit

Toolkit for supporting the EBU-TT Live specification
http://ebu.github.io/ebu-tt-live-toolkit/
BSD 3-Clause "New" or "Revised" License
25 stars 10 forks source link

Add extra detail when Error encountered #247

Open nigelmegitt opened 7 years ago

nigelmegitt commented 7 years ago

When the ebu-tt-d converter generated an error in the segmenter all the log showed was something like:

[ERROR](2016-10-24 15:16:49,961) in ebu_tt_live.documents.ebutt3[729] - Error extracting document segment from 192.168.56.99 EBUTT3_BBC1__700

which was very unhelpful for working out what the problem was. If there's a way to get better information from exceptions like this then that would be very useful!

kozmaz87 commented 7 years ago

Well this error actually hides an exception stack trace and can be caused by literally any issue. I did not have much help on what scenarios I would have to expect there... This should however happen very rarely.