djcheckup 0.4.1__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {djcheckup-0.4.1 → djcheckup-0.4.2}/PKG-INFO +1 -1
- {djcheckup-0.4.1 → djcheckup-0.4.2}/pyproject.toml +1 -1
- {djcheckup-0.4.1 → djcheckup-0.4.2}/src/djcheckup/checks.py +2 -2
- {djcheckup-0.4.1 → djcheckup-0.4.2}/LICENSE +0 -0
- {djcheckup-0.4.1 → djcheckup-0.4.2}/README.md +0 -0
- {djcheckup-0.4.1 → djcheckup-0.4.2}/src/djcheckup/__init__.py +0 -0
- {djcheckup-0.4.1 → djcheckup-0.4.2}/src/djcheckup/check_defs.py +0 -0
- {djcheckup-0.4.1 → djcheckup-0.4.2}/src/djcheckup/cli.py +0 -0
- {djcheckup-0.4.1 → djcheckup-0.4.2}/src/djcheckup/outputs.py +0 -0
- {djcheckup-0.4.1 → djcheckup-0.4.2}/src/djcheckup/run.py +0 -0
|
@@ -385,12 +385,12 @@ Error message:
|
|
|
385
385
|
response = self.client.get(self.url)
|
|
386
386
|
response.raise_for_status()
|
|
387
387
|
|
|
388
|
-
except (httpx.
|
|
388
|
+
except (httpx.RequestError, httpx.HTTPStatusError) as e:
|
|
389
389
|
return CheckResponse(
|
|
390
390
|
name=check_name,
|
|
391
391
|
result=CheckResult.FAILURE,
|
|
392
392
|
severity_score=severity_weight,
|
|
393
|
-
message=f"{error_message} ```\n{e}```",
|
|
393
|
+
message=f"{error_message} ```\n\n> {e}```",
|
|
394
394
|
)
|
|
395
395
|
|
|
396
396
|
self.context = create_context(self.url, self.client, response)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|