mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-24 08:20:25 +00:00
* status.rs: Make json output more verbose Currently if the status response has no status code, json output contains only a text field which gives no real information about the cause of the problem. The patch adds field with more detailed information when the status response contains some details. Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com> * cli.rs: Test parsing of error details in JSON format Some network error such as SSL has no status code but it can be identified by error status details. This patch adds a test case to verify if the error details are parsed properly in the json format. Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com> --------- Signed-off-by: Norbert Kamiński <norbert.kaminski@3mdeb.com>
8 lines
293 B
Markdown
Vendored
8 lines
293 B
Markdown
Vendored
# Test detailed JSON output error
|
|
|
|
This file is used to test if the error details are parsed properly in the json
|
|
format.
|
|
|
|
[The website](https://expired.badssl.com/) produce SSL expired certificate
|
|
error. Such network error has no status code but it can be identified by error
|
|
status details.
|