Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a module and prepares it to handle requests.
 /// </summary>
 /// <param name="application">An <see cref="T:System.Web.HttpApplication"/> that provides access to the methods, properties, and events common to all application objects within an ASP.NET application</param>
 public void Init(HttpApplication application)
 {
     _client = new AirbrakeClient();
     application.Error += ApplicationError;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>.
 /// </summary>
 public void Dispose()
 {
     _client = null;
 }