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

Status: 500 #286

Open
smoelius opened this issue Dec 15, 2023 · 0 comments
Open

Status: 500 #286

smoelius opened this issue Dec 15, 2023 · 0 comments

Comments

@smoelius
Copy link

I run markdown-link-check in CI, and for several weeks, I've been seeing output like this:

  137 links checked.
  [✖] https://github.com/trailofbits/dylint/commit/28f3691221bc22047b9bc6d7fcefa72b038adc10 → Status: 500

  ERROR: 1 dead links found!

Then, recently, my colleague noticed this:

if (err) {
result = new LinkCheckResult(opts, link, 500, err);
result.status = 'error'; // custom status for errored links
}

Is there a way to tell from the output whether the 500 is an actual internal server error, or was introduced by the above code?

Thanks for a great tool, BTW.

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

No branches or pull requests

1 participant