Removed obscure exception message from RetryLimitExceededException

This commit is contained in:
Ronald Barendse
2019-10-07 22:12:14 +02:00
parent ed90e71f76
commit 71f3bbfb19
@@ -14,7 +14,7 @@ namespace Umbraco.Core.Persistence.FaultHandling
/// Initializes a new instance of the <see cref="RetryLimitExceededException" /> class with a default error message.
/// </summary>
public RetryLimitExceededException()
: this("RetryLimitExceeded")
: base()
{ }
/// <summary>
@@ -30,7 +30,7 @@ namespace Umbraco.Core.Persistence.FaultHandling
/// </summary>
/// <param name="innerException">The exception that is the cause of the current exception.</param>
public RetryLimitExceededException(Exception innerException)
: base(innerException != null ? innerException.Message : "RetryLimitExceeded", innerException)
: base(null, innerException)
{ }
/// <summary>