P
Peter D. Dunlap
I've got a custom configuration section in my web site and a custom
handler, which all works fine. However, other people are going to
start working with this site soon, and probably messing with the
configuration. I've found that if there is an error in my custom
configuration section, the message I get is "Exception in
configuration section handler" regardless of what kind of exception
I'm throwing from inside the handler code.
I can go in and debug the site and find what exception is actually
being thrown, but this is a pain to do, and once others start messing
with things they will be very confused by this.
Is there any way to get it to display a more meaningful error - like
for instance the one I am throwing?
handler, which all works fine. However, other people are going to
start working with this site soon, and probably messing with the
configuration. I've found that if there is an error in my custom
configuration section, the message I get is "Exception in
configuration section handler" regardless of what kind of exception
I'm throwing from inside the handler code.
I can go in and debug the site and find what exception is actually
being thrown, but this is a pain to do, and once others start messing
with things they will be very confused by this.
Is there any way to get it to display a more meaningful error - like
for instance the one I am throwing?