Skip to content

Commit 385a24e

Browse files
Remove exception logging from error log (#167)
* Logging exception only in case of debug * update
1 parent cecefcc commit 385a24e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

span-processing-utils/src/main/java/org/hypertrace/config/span/processing/utils/SpanFilterMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ private boolean matches(String lhs, String rhs, RelationalOperator relationalOpe
114114
try {
115115
return Pattern.compile(rhs).matcher(lhs).find();
116116
} catch (Exception e) {
117-
log.error("Invalid regex: {} passed to match: {}", rhs, e);
117+
log.error("Invalid regex: {} passed to match", rhs);
118118
if (log.isDebugEnabled()) {
119119
log.debug(
120120
"Invalid regex passed to match. Hence returning false. lhs: {} and rhs: {}",

0 commit comments

Comments
 (0)