Beispiel #1
0
        /// <summary>
        /// Handle Exceptions that are swallowed because we don't want our SDK crash other apps
        /// For internal use by platform SDKs
        /// </summary>
        /// <param name="unhandledException">the exception to propagate</param>
        public void HandleInternalUnhandledException(Exception unhandledException)
        {
            logger.Error(unhandledException);
            var args = new InternalUnhandledExceptionEventArgs()
            {
                Exception = unhandledException
            };
            var handler = OnHockeySDKInternalException;

            if (handler != null)
            {
                handler(this, args);
            }
        }
 /// <summary>
 /// Handle Exceptions that are swallowed because we don't want our SDK crash other apps
 /// For internal use by platform SDKs
 /// </summary>
 /// <param name="unhandledException">the exception to propagate</param>
 public void HandleInternalUnhandledException(Exception unhandledException) {
     logger.Error(unhandledException);
     var args = new InternalUnhandledExceptionEventArgs() { Exception = unhandledException };
     var handler = OnHockeySDKInternalException;
     if (handler != null)
         handler(this, args);
 }