// Added for the BugSnag sample web application protected void Application_Error(object sender, EventArgs e) { // Create a new BugSnag notifier BugSnag bs = new BugSnag(); // Notify. This will get configuration from the web.config // and gather all known errors and report them. It's just that simple! bs.Notify(); }