Skip to content

fix: gracefully handle docs failures#502

Merged
serhalp merged 1 commit intomainfrom
jg/docs-graceful
Jan 31, 2026
Merged

fix: gracefully handle docs failures#502
serhalp merged 1 commit intomainfrom
jg/docs-graceful

Conversation

@43081j
Copy link
Copy Markdown
Contributor

@43081j 43081j commented Jan 31, 2026

Small change so we don't consider a failure of docs generation to be
error level, since many packages fail this (anything using node built
ins right now).

edit: @devdumpling before we merge this - im unable to cause the error again locally and can't see the logs for the preview deployment. do you think this change is redundant? my intention was to catch the various WASM errors we were seeing so they don't pollute the logs

Small change so we don't consider a failure of docs generation to be
error level, since _many_ packages fail this (anything using node built
ins right now).
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Jan 31, 2026 1:53pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Jan 31, 2026 1:53pm
npmx-lunaria Ignored Ignored Jan 31, 2026 1:53pm

Request Review

Copy link
Copy Markdown
Member

@serhalp serhalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense to me!

load: createLoader(),
resolve: createResolver(),
})
} catch {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😰 at some point we should set up Sentry or something

@serhalp serhalp added this pull request to the merge queue Jan 31, 2026
Merged via the queue into main with commit d9fb143 Jan 31, 2026
17 checks passed
@serhalp serhalp deleted the jg/docs-graceful branch January 31, 2026 15:47
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.

2 participants