jglisson / elmah

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

ErrorFilter not working unless is on <TEST> #294

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
this works
    <errorFilter>
    <test>
        <equal binding="HttpStatusCode" value="404" type="Int32" />
    </test>
    </errorFilter>

this does'nt
    <errorFilter>
    <error404>
        <equal binding="HttpStatusCode" value="404" type="Int32" />
    </error404>
    </errorFilter>

anything that is not test will not work.

Original issue reported on code.google.com by Federico...@gmail.com on 22 May 2012 at 7:45

GoogleCodeExporter commented 8 years ago
This is by design!
The documentation here: http://code.google.com/p/elmah/wiki/ErrorFiltering
and here: http://code.google.com/p/elmah/wiki/ErrorFilterExamples
all show this to be the case.

Original comment by jamesdriscoll71 on 22 May 2012 at 8:04