rvs76 / tvdblib

Automatically exported from code.google.com/p/tvdblib
0 stars 0 forks source link

Remove XML file content from exceptions #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In Tvdbdownloader anytime there is a TvdbInvalidXmlException content of that 
xml file is added to the exception. this causes a very bad user experiences 
since that exception is also dumped to console. for some of the request such as 
download series and episodes the XML content could be massive.

I have attached a patch, that does two things, first it add an inner exception 
constructor to the base Tvdb exception, so the original .net exception could be 
bundled with the Tvdb exception, and second removes the xml content from the 
exception and the logs.

Original issue reported on code.google.com by kay....@gmail.com on 17 Oct 2010 at 3:56

Attachments: