Skip to content

Commit 1862e62

Browse files
committed
correct error function
1 parent 0805a23 commit 1862e62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

robusta_krr/core/runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,10 @@ def _send_result(self, url: str, start_time: datetime, scan_id: str, result: Res
367367
result_dict = json.loads(result.json(indent=2))
368368
_send_scan_payload(url, scan_id, start_time, result_dict, is_error=False)
369369

370-
def publish_error(url: str, scan_id: str, start_time: str, error: str):
370+
def publish_input_error(url: str, scan_id: str, start_time: str, error: str):
371371
_send_scan_payload(url, scan_id, start_time, error, is_error=True)
372372

373-
def publish_input_error(error: str):
373+
def publish_error(error: str):
374374
_send_scan_payload(settings.publish_scan_url, settings.scan_id, settings.start_time, error, is_error=True)
375375

376376
def _send_scan_payload(

0 commit comments

Comments
 (0)