Skip to content
Snippets Groups Projects
Unverified Commit 72110c1c authored by Bryan Liles's avatar Bryan Liles Committed by GitHub
Browse files

Merge pull request #413 from redbaron/more-stack

Print more stack frames on infinite loops
parents 26e50b44 dcff8774
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,7 @@ func (j *Jsonnet) Objects(paramsStr, envName string) ([]*unstructured.Unstructur
}
vm := jsonnet.MakeVM()
vm.ErrorFormatter.SetMaxStackTraceSize(40)
vm.Importer(importer)
log.Debugf("%s convert to jsonnet: setting %q to %q", j.Name(true), "__ksonnet/params", paramsStr)
vm.ExtCode("__ksonnet/params", paramsStr)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment