void Current_DispatcherUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e) { ExceptionHandler.LogException(e.Exception); }