From f795f909b34775777ca47c24edf46cd535ce55ed Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Thu, 7 May 2020 18:15:33 -0400 Subject: [PATCH] include all the data --- pkg/analyze/text_analyze.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyze/text_analyze.go b/pkg/analyze/text_analyze.go index 0dd7c013..a1ac6102 100644 --- a/pkg/analyze/text_analyze.go +++ b/pkg/analyze/text_analyze.go @@ -216,7 +216,7 @@ func compareRegex(conditional string, foundMatches map[string]string) (bool, err } else { // all we can support is "=" and "==" and "===" for now if operator != "=" && operator != "==" && operator != "===" { - return false, fmt.Errorf("unexpected operator %q in regex comparator", operator) + return false, fmt.Errorf("unexpected operator %q in regex comparator, cannot compare %q and %q", operator, foundValue, lookForValue) } return foundValue == lookForValue, nil