goBazinga / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Have constructor/method to Error class that takes HttpRequest/HttpRequestBase as a single parameter #134

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What new or enhanced feature are you proposing?

Have some ability to create, or easily modify an Error instance from just a
HttpRequest/Base parameter without the need to have an Exception instance. 

What goal would this enhancement help you achieve?

At the moment if I want to log a custom error without an exception and log
the http request details I either have to pass a fake exception into the
ctor Error(Exception, HttpContext) or use the empty ctor and set the
properties manually from the request. Having a seperate ctor with just
HttpRequest/HttpRequestBase as a parameter (or removing the
ArgumentNullException from the existing ctor) would make this task simpler.

Original issue reported on code.google.com by blueghos...@gmail.com on 14 Sep 2009 at 4:25

GoogleCodeExporter commented 8 years ago
This issue has been migrated to:
https://github.com/elmah/Elmah/issues/134
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:18