Skip to content

Commit 5d28be1

Browse files
committed
after tests
1 parent 2318ad8 commit 5d28be1

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

robusta_krr/core/runner.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,13 +377,11 @@ def publish_error(error: str):
377377
@retry(
378378
stop=stop_after_attempt(3),
379379
wait=wait_exponential(multiplier=1, min=1, max=8),
380-
retry=retry_if_exception_type(requests.exceptions.RequestException),
381380
reraise=True
382381
)
383382
def _post_scan_request(url: str, headers: dict, payload: dict, scan_id: str, is_error: bool):
384383
logger_msg = "Sending error scan" if is_error else "Sending scan"
385384
logger.info(f"{logger_msg} for scan_id={scan_id} to url={url}")
386-
387385
response = requests.post(url, headers=headers, json=payload)
388386
logger.info(f"scan_id={scan_id} | Status code: {response.status_code}")
389387
logger.info(f"scan_id={scan_id} | Response body: {response.text}")

0 commit comments

Comments
 (0)