Open GoogleCodeExporter opened 9 years ago
Fixed subject and turned this into an enhancement.
Original comment by azizatif
on 2 Aug 2007 at 10:49
Original comment by azizatif
on 30 Oct 2007 at 9:22
This is now possible via the new ErrorSignal class. See:
http://elmah.googlecode.com/svn/trunk/src/Elmah/ErrorSignal.cs
Calling ErrorSignal.Raise will go through the same set of events as when an
unhandled exception is encountered. In effect, you'll get logging plus mailing
(even
filtering) if that's what's configured. As a result, this issue is being
considered
fixed for now. If there are issues with ErrorSignal, these should be reported
as new
issues.
Original comment by azizatif
on 30 Oct 2007 at 9:26
[deleted comment]
Original comment by azizatif
on 13 Sep 2012 at 3:51
Hmm... Only problem with using ErrorSignal.Raise is it expects an exception,
whereas ErrorLog.Log excepts a type of Elmah.Error. If you wanted to create an
elmah entry using an Elmah.Error type how would you do this (and send email)
without throwing an exception? Or can an exception be easily created using all
elmah.error properties?
Original comment by Krit...@gmail.com
on 21 Jan 2015 at 4:51
This issue has been migrated to:
https://github.com/elmah/Elmah/issues/27
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of
any further development.
Original comment by azizatif
on 25 Aug 2015 at 8:15
Original issue reported on code.google.com by
dgarcia...@gmail.com
on 2 Aug 2007 at 10:33