Exceptions not handled correctly in IceTV plugin [IceTVMain]

Issue #397 resolved
prl created an issue

In IceTVMain.fetch(), if fetcher.doWork() raises an exception, the exception handler in IceTVMain.fetch() calls self.addLog(). There is no method addLog() in IceTVMain, so another exception is raised, which is not caught and the GUI crashes.

I think the exception handling should call fetcher.addLog().

Reproduction steps

I found this problem when I was trying to get a dump of the IceTV EPG data, and had an error in the code.

To reproduce, add code to EPGFetcher.doWork() to raise an exception and then force an EPG fetch.

Comments (1)

  1. Log in to comment