babgvant / elmah

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

Compute a hash of the exception #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We group our errors together so that we can prioritise and fix the most
frequently occurring ones, and it allows us to do additional filtering (as
we can pick individual errors to exclude, rather than have to pick a type
of exception)

The hash is computed from the stacktrace of the exception, meaning that
even if a different message is generated, the error hash will be the same.
(Although this has a known issue at the moment that if, for example, you
catch a sql error, the stacktrace will be the same whether the error is
transient or permanent).

I've attached a patch to this error log. Hopefully it's nice and
straightforwards. It is only a small change.

Please note I have only made the changes (so far) to the SQL and XML stores
(and in-memory is done by default)

Original issue reported on code.google.com by mat.stee...@gmail.com on 28 May 2009 at 5:48

Attachments:

GoogleCodeExporter commented 9 years ago
We'd like to do that too.

Original comment by peter.mo...@gmail.com on 29 Jan 2010 at 2:17