M
Mantorok
Hi all
I have a console application that runs every night via a scheduled task,
there is a try-catch block in my Main class, whenever an error is caught it
is written to a log file and then emailed to several people. The
application is run using a domain service account, if the program is
successful it emails this result fine.
The problem is, the catch doesn't seem to perform correctly if the program
fails, all I end up with is an entry in the event-log with almost
meaningless error details.
My only thought was that maybe these errors are occurring in my
multi-threaded calls (there are a few).
Is there any reason why the catch would fail? I'm running out of ideas.
Thanks
Kev
I have a console application that runs every night via a scheduled task,
there is a try-catch block in my Main class, whenever an error is caught it
is written to a log file and then emailed to several people. The
application is run using a domain service account, if the program is
successful it emails this result fine.
The problem is, the catch doesn't seem to perform correctly if the program
fails, all I end up with is an entry in the event-log with almost
meaningless error details.
My only thought was that maybe these errors are occurring in my
multi-threaded calls (there are a few).
Is there any reason why the catch would fail? I'm running out of ideas.
Thanks
Kev