Skip to content

Commit

Permalink
Update spacing for project consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
mroach committed Oct 7, 2013
1 parent 700abe6 commit 5c00453
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src/RollbarSharp/RollbarHttpModule.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
using System;
using System.Web;

namespace RollbarSharp
{
public class RollbarHttpModule : IHttpModule
{
public void Init(HttpApplication context)
{
context.Error += SendError;
}

public void Dispose()
{
}

private void SendError(object sender, EventArgs e)
{
var application = (HttpApplication)sender;
new RollbarClient().SendException(application.Server.GetLastError().GetBaseException());
}
}
using System.Web;

namespace RollbarSharp
{
public class RollbarHttpModule : IHttpModule
{
public void Init(HttpApplication context)
{
context.Error += SendError;
}

public void Dispose()
{
}

private static void SendError(object sender, EventArgs e)
{
var application = (HttpApplication) sender;
new RollbarClient().SendException(application.Server.GetLastError().GetBaseException());
}

}
}

0 comments on commit 5c00453

Please sign in to comment.