alexbeletsky / elmah-mvc

Painless integration of ELMAH into ASP.NET MVC application
http://nuget.org/packages/Elmah.MVC
Apache License 2.0
266 stars 61 forks source link

Are we need remove the asp.net mvc original HandleErrorAttribute from RegisterGlobalFilters? #54

Open huangjinshe opened 9 years ago

huangjinshe commented 9 years ago

When we create the asp.net mvc project, there is already has a HandleErrorAttribute register to global filter:

public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new HandleErrorAttribute());
        }
    }

but I see the elmah-mvc register it own HandleErrorAttribute too. that mean there is 2 HandleErrorAttribute now.

So My question is , Are we need remove the original HandleErrorAttribute? then there is only elmah-mvc own HandleErrorAttribute.