kierse / mediarover

Automated media download scheduler and catalogue maintainer
GNU General Public License v3.0
12 stars 1 forks source link

source plugins failing on invalid data #38

Open kierse opened 14 years ago

kierse commented 14 years ago

Source plugins are crashing MR when the data isn't as expected or invalid. Rewrite code that consumes XML to remove long method chains and wrap entire process in a try/catch

dom.method1()[0].method2()[0].value

should become:

try { a = dom.method()[0] a.method2()[0].value } catch { ... }