NotifyPropertyWeaverMsBuildTask.WeavingTask.HandleException C# (CSharp) Method

HandleException() public method

public HandleException ( Exception exception ) : void
exception System.Exception
return void
        void HandleException(Exception exception)
        {
            Exception = exception;
            if (exception is WeavingException)
            {
                logger.LogError(exception.Message);
                return;
            }

            logger.LogError(string.Format("Unhandled exception occurred {0}", exception));
        }