[Mono-list] Exception ignored in ConfigurationData

Gonzalo Paniagua Javier gonzalo@ximian.com
Fri, 28 Nov 2003 04:07:02 +0100


El jue, 27-11-2003 a las 20:55, Marco Canini escribió:
> I ran in troubles with app config file and spent a lot of time just 
> because an exception is ignored into ConfigurationData.
> In file ConfigurationSettings.cs, almost at line 160, there's a generic 
> catch clause followed by return false.
> I don't why it's so, but IMHO the exception should not be ignored here: 
> as i said i lost much time figuring out why my app config file wasn't 
> loaded, and in the end i had to modify the file and recompile system.dll
> So if there's no good motivation to ignore exceptions there pls remove 
> the catch clause.

Rant: 2 points
Bug report: 10 points
Contributing with a bug report instead of a rant: no price

-Gonzalo