diff --git a/common/herrors/errors.go b/common/herrors/errors.go index e7f91462e..40833e55c 100644 --- a/common/herrors/errors.go +++ b/common/herrors/errors.go @@ -137,7 +137,7 @@ var nilPointerErrRe = regexp.MustCompile(`at <(.*)>: error calling (.*?): runtim const deferredPrefix = "__hdeferred/" -var deferredStringToRemove = regexp.MustCompile(`executing "__hdeferred/.*" `) +var deferredStringToRemove = regexp.MustCompile(`executing "__hdeferred/.*?" `) // ImproveRenderErr improves the error message for rendering errors. func ImproveRenderErr(inErr error) (outErr error) {