Esempio n. 1
0
 private static void SetupErrorHandling()
 {
     ErrorReport.EmailAddress = "*****@*****.**".Replace("spam", "issues");
     ErrorReport.AddStandardProperties();
     ExceptionHandler.Init();
     ExceptionHandler.AddDelegate((w, e) => DesktopAnalytics.Analytics.ReportException(e.Exception));
 }
Esempio n. 2
0
        /// ------------------------------------------------------------------------------------
        private static void SetUpErrorHandling()
        {
            Palaso.Reporting.ErrorReport.EmailAddress = "*****@*****.**";
            Palaso.Reporting.ErrorReport.AddStandardProperties();
            Palaso.Reporting.ExceptionHandler.Init();

            ExceptionHandler.AddDelegate((w, e) => DesktopAnalytics.Analytics.ReportException(e.Exception));
        }
Esempio n. 3
0
 private static void SetUpErrorHandling()
 {
     ErrorReport.SetErrorReporter(new WinFormsErrorReporter());
     ErrorReport.EmailAddress = IssuesEmailAddress;
     ErrorReport.AddStandardProperties();
     ExceptionHandler.Init(new WinFormsExceptionHandler());
     ExceptionHandler.AddDelegate(ReportError);
 }
Esempio n. 4
0
 /// ------------------------------------------------------------------------------------
 private static void SetUpErrorHandling()
 {
     if (ErrorReport.EmailAddress == null)
     {
         ExceptionHandler.Init();
         ErrorReport.EmailAddress = IssuesEmailAddress;
         ErrorReport.AddStandardProperties();
         ExceptionHandler.AddDelegate(ReportError);
     }
 }
Esempio n. 5
0
        /// ------------------------------------------------------------------------------------
        private ProjectWindow()
        {
            Logger.WriteEvent("ProjectWindow constructor");

            ExceptionHandler.AddDelegate(AudioUtils.HandleGlobalNAudioException);

            InitializeComponent();
            _titleFmt = Text;
            _menuShowMPlayerDebugWindow.Tag = _menuProject.DropDownItems.IndexOf(_menuShowMPlayerDebugWindow);
            _menuProject.DropDownItems.Remove(_menuShowMPlayerDebugWindow);
        }
Esempio n. 6
0
        /// ------------------------------------------------------------------------------------
        private static void SetUpErrorHandling()
        {
            Application.ApplicationExit += (sender, args) => ExternalProcess.CleanUpAllProcesses();
            Application.ThreadException += (sender, args) => ExternalProcess.CleanUpAllProcesses();
            AppDomain.CurrentDomain.UnhandledException += (sender, args) => ExternalProcess.CleanUpAllProcesses();

            ErrorReport.EmailAddress = "*****@*****.**";
            ErrorReport.AddStandardProperties();
            ExceptionHandler.Init();
            ExceptionHandler.AddDelegate((w, e) => Analytics.ReportException(e.Exception));
        }