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