Wrapping TorrentDef.load with a try except which catches ValueErrors