Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Bring back error output for links #1521

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

fix: Bring back error output for links #1521

wants to merge 5 commits into from

Conversation

mre
Copy link
Member

@mre mre commented Oct 11, 2024

With the last lychee release, we simplified the status output for links.

While this reduced the visual noise, it also accidentally caused the source of errors to not be printed anymore. This change brings back the additional error information as part of the final report output. Furthermore, it shows the error information in the progress output if verbose mode is activated.

Fixes #1487

@mre mre marked this pull request as draft October 11, 2024 23:33
@mre mre marked this pull request as ready for review October 13, 2024 21:54
With the last lychee release, we simplified the status output for links.  While
this reduced the visual noise, it also accidentially caused the source of
errors to not be printed anymore. This change brings back the additional error
information as part of the final report output. Furthermore, it shows the error
information in the progress output if verbose mode is activated.
lychee-bin/src/formatters/response/color.rs Outdated Show resolved Hide resolved
lychee-bin/src/formatters/response/color.rs Outdated Show resolved Hide resolved
lychee-bin/src/formatters/response/mod.rs Outdated Show resolved Hide resolved
lychee-bin/src/formatters/stats/compact.rs Outdated Show resolved Hide resolved
@mre
Copy link
Member Author

mre commented Oct 18, 2024

@dmathieu, do you have an idea why the test fails..

@dmathieu
Copy link
Contributor

do you have an idea why the test fails..

It's a bit weird. I'm not getting a failure locally. As if sometimes, a 200 is returned (giving the error we see), and sometimes a 204.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed: Network error: error sending request for url
3 participants