fix stackTrace symbol usage
This commit is contained in:
parent
5ed05c90fb
commit
4d5dbb569a
|
@ -794,7 +794,10 @@ template fail* =
|
|||
{.gcsafe.}:
|
||||
for formatter in formatters:
|
||||
when declared(stackTrace):
|
||||
formatter.failureOccurred(checkpoints, stackTrace)
|
||||
when stackTrace is string:
|
||||
formatter.failureOccurred(checkpoints, stackTrace)
|
||||
else:
|
||||
formatter.failureOccurred(checkpoints, "")
|
||||
else:
|
||||
formatter.failureOccurred(checkpoints, "")
|
||||
|
||||
|
|
Loading…
Reference in New Issue