Skip to content

Commit

Permalink
ErrorMailModule.ErrorTextFormatter as an EBFM
Browse files Browse the repository at this point in the history
  • Loading branch information
atifaziz committed Feb 5, 2016
1 parent 51dddd8 commit 84f3ad5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Bootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -607,10 +607,8 @@ public static class MailMessageTagLink

sealed class ErrorMailModule : Elmah.ErrorMailModule
{
protected override ErrorTextFormatter CreateErrorFormatter()
{
return ErrorTextFormatterFactory.Current() ?? base.CreateErrorFormatter();
}
protected override ErrorTextFormatter CreateErrorFormatter() =>
ErrorTextFormatterFactory.Current() ?? base.CreateErrorFormatter();

protected override object GetConfig()
{
Expand Down

0 comments on commit 84f3ad5

Please sign in to comment.