Comments (6)
Fixed subject and turned this into an enhancement.
Original comment by azizatif
on 2 Aug 2007 at 10:49
- Changed title: Allow error mail report to be sent programmatically
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from elmah.
Original comment by azizatif
on 30 Oct 2007 at 9:22
- Changed state: Accepted
- Added labels: Component-Logic
from elmah.
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
- Changed state: Fixed
from elmah.
[deleted comment]
from elmah.
Original comment by azizatif
on 13 Sep 2012 at 3:51
- Changed state: New
from elmah.
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 [email protected]
on 21 Jan 2015 at 4:51
from elmah.
Related Issues (20)
- Migrate to Automatic Package Restore HOT 9
- Elmah doesn't display LOGON_USER HOT 1
- The SQL Server Compact package references an obsolete SQL Server Compact package HOT 4
- clustered index on ELMAH_Error
- <i class=" onmouseover="alert(document.domain)//""> HOT 1
- why i can not receive some mail from elmah in elmah.axd HOT 1
- Sign the assemblies HOT 1
- Building fails when using Command Prompt for VS 2013 HOT 2
- Razor templates broken by more recent Razor Generator versions HOT 2
- nugetRestore.proj warning about non-existing project HOT 5
- VS build on fresh clone breaks demo web site HOT 1
- VS build on fresh clone breaks demo web site HOT 6
- Multiple log sources
- Patch for /src/Elmah.SqlServer/SQLServer.sql
- Fix build issues with the demo project HOT 2
- Build fails without Internet connectivity HOT 3
- Cannot set ApplicationName for XmlFileErrorLog HOT 2
- Internal Server Error error code 500 is logged as 0
- Move repo/project off Google Code HOT 2
- Can we configure Elmah email setting at runtime HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elmah.