Esempio n. 1
0
        static void BugGuardianExceptionTrapper(object sender, UnhandledExceptionEventArgs e)
        {
            using (var creator = new DBTek.BugGuardian.Creator())
            {
                creator.AddBug(e.ExceptionObject as Exception, message: "Unknown exception", tags: new List<string> { "Operation" });

                creator.AddTask(e.ExceptionObject as Exception, message: "Unknown exception", tags: new List<string> { "Operation" });
            }
        }
Esempio n. 2
0
        public override void OnException(ExceptionContext filterContext)
        {
            base.OnException(filterContext);

            using (var creator = new DBTek.BugGuardian.Creator())
            {
                creator.AddBug(filterContext.Exception);
            }
        }
Esempio n. 3
0
        /// <summary>
        /// Invoked when this page is about to be displayed in a Frame.
        /// </summary>
        /// <param name="e">Event data that describes how this page was reached.
        /// This parameter is typically used to configure the page.</param>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            // TODO: Prepare page for display here.

            // TODO: If your application contains multiple pages, ensure that you are
            // handling the hardware Back button by registering for the
            // Windows.Phone.UI.Input.HardwareButtons.BackPressed event.
            // If you are using the NavigationHelper provided by some templates,
            // this event is handled for you.

            var creator = new DBTek.BugGuardian.Creator();
        }
Esempio n. 4
0
 private void BugGuardianExceptionTrapper(object sender, UnhandledExceptionEventArgs e)
 {
     using (var creator = new DBTek.BugGuardian.Creator())
     {
         creator.AddBug(e.Exception);
     }
 }