Skip to content

Commit da1ef39

Browse files
committed
error with multines and using @var
1 parent 98f9ad6 commit da1ef39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internals/proxy/middlewares/template.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ func TemplateBody(data map[string]any, VARIABLES map[string]any) (map[string]any
120120
jsonStr = re.ReplaceAllString(jsonStr, "{{.$1}}")
121121

122122
normalizedData, err := jsonutils.GetJsonSafe[map[string]any](jsonStr)
123+
124+
log.Dev(err.Error())
123125

124126
if err == nil {
125127
data = normalizedData

0 commit comments

Comments
 (0)