Skip to content

Commit ca015f1

Browse files
committed
formatting log output
1 parent 232c4a4 commit ca015f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • playbooks/robusta_playbooks

playbooks/robusta_playbooks/krr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def process_scan(event: ExecutionBaseEvent, params: ProcessScanParams):
321321
if isinstance(e, json.JSONDecodeError):
322322
logging.exception("*KRR scan job failed. Expecting json result.*")
323323
elif isinstance(e, TypeError):
324-
logging.exception(f"*KRR scan job failed.\n Error from KRR pod:\n {params.result}.*")
324+
logging.error(f"*KRR scan job failed.\n Error from KRR pod:\n {params.result}.*")
325325
else:
326326
logging.exception(f"*KRR scan job unexpected error.*\n {e}\nReturned result from KRR: {params.result}")
327327
event.emit_event(

0 commit comments

Comments
 (0)