Commit dcff8774 authored by Maxim Ivanov's avatar Maxim Ivanov
Browse files

Print more stack frames on infinite loops


Signed-off-by: default avatarMaxim Ivanov <ivanov.maxim@gmail.com>
parent 1664590e
......@@ -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)
......
Markdown is supported
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