Skip to content

Commit f375539

Browse files
authored
patcher: fix exception logging causing problems in SigNoz (#340)
1 parent d28e461 commit f375539

File tree

1 file changed

+2
-3
lines changed
  • patcher/src/buttercup/patcher/agents

1 file changed

+2
-3
lines changed

patcher/src/buttercup/patcher/agents/qe.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,8 @@ def _get_pov_variants(self, configuration: PatcherConfig, povs: list[PatchInputP
452452
for crash in crashes_for_token[: configuration.max_pov_variants_per_token_sanitizer]
453453
},
454454
)
455-
except Exception as e:
456-
logger.error("Failed to list PoV variants for token %s", pov.pov_token)
457-
logger.exception(e)
455+
except Exception:
456+
logger.exception("Failed to list PoV variants for token %s", pov.pov_token)
458457

459458
# Remove original POVs from the result and move them to the beginning so they get tested first
460459
for pov in povs:

0 commit comments

Comments
 (0)