Skip to content

Commit bb451ae

Browse files
committed
Throw the right template validation error
1 parent 301b106 commit bb451ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CanaryValidator/Canary.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ while ($runCount -le $NumberOfIterations)
449449
}
450450
else
451451
{
452-
throw [System.Exception] "Template validation failed. `n$templateError"
452+
throw [System.Exception] "Template validation failed. `n$($templateError.Message)"
453453
}
454454
}
455455

0 commit comments

Comments
 (0)