lychee/lychee-bin/tests
Norbert Kamiński 2a95944ef5
status.rs: Make json output more verbose (#1367)
* 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>
2024-01-30 23:58:18 +01:00
..
cli.rs status.rs: Make json output more verbose (#1367) 2024-01-30 23:58:18 +01:00
data_uris.rs Add different verbosity levels (#824) 2022-11-28 23:25:33 +01:00
example_domains.rs Exclude example TLDs from RFC 2606 (#1335) 2024-01-05 18:48:15 +01:00
local_files.rs Use standard error for error output (#990) 2023-04-11 23:43:33 +02:00
usage.rs Bump clap from 3.2.23 to 4.0.22 (#813) 2022-11-13 21:10:32 +01:00