Fix custom exception stack trace output

This commit is contained in:
Dean Herbert 2018-08-16 20:41:53 +09:00
parent b26c8e3b9e
commit dfecb3235b
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ public ExceededAllowedIterationsException(StackTrace stackTrace)
}
public override string StackTrace => stackTrace;
public override string ToString() => $"{GetType().Name}: {Message}\r\n{StackTrace}";
}
}
}