diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2022-06-08 16:42:24 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2022-06-08 16:42:24 -0600 |
commit | 1498132ea3c4f01d3be41812dbd02364cb77d263 (patch) | |
tree | f37d4ec6ed66c5479c6fcf00b14d62b216d7d93a /modules/caddyhttp/celmatcher_test.go | |
parent | 7f9b1f43c9f8c7d0f4ca9271090cae92103232c7 (diff) |
caddyhttp: Log error from CEL evaluation (fix #4832)
Diffstat (limited to 'modules/caddyhttp/celmatcher_test.go')
-rw-r--r-- | modules/caddyhttp/celmatcher_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/celmatcher_test.go b/modules/caddyhttp/celmatcher_test.go index a78eb5a..d71fc42 100644 --- a/modules/caddyhttp/celmatcher_test.go +++ b/modules/caddyhttp/celmatcher_test.go @@ -116,7 +116,7 @@ eqp31wM9il1n+guTNyxJd+FzVAH+hCZE5K+tCgVDdVFUlDEHHbS/wqb2PSIoouLV } if tt.expression.Match(req) != tt.wantResult { - t.Errorf("MatchExpression.Match() expected to return '%t', for expression : '%s'", tt.wantResult, tt.expression) + t.Errorf("MatchExpression.Match() expected to return '%t', for expression : '%s'", tt.wantResult, tt.expression.Expr) } }) |