Skip to content

Commit

Permalink
Log regex compilation as error (#2809)
Browse files Browse the repository at this point in the history
Co-authored-by: Dario Castañé <[email protected]>
  • Loading branch information
ALX99 and darccio authored Aug 23, 2024
1 parent 81e27e5 commit 6f8d5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/internal/httptrace/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func newConfig() config {
} else if r, err := regexp.Compile(s); err == nil {
c.queryStringRegexp = r
} else {
log.Debug("Could not compile regexp from %s. Using default regexp instead.", envQueryStringRegexp)
log.Error("Could not compile regexp from %s. Using default regexp instead.", envQueryStringRegexp)
}
return c
}

0 comments on commit 6f8d5e9

Please sign in to comment.