Skip to content

Conversation

@miklb
Copy link

@miklb miklb commented Jan 8, 2026

Changes error handling from rejecting promises to logging warnings, allowing the build to complete even when webmention discovery encounters timeouts or other transient errors.

Previously, any error in webmention discovery would fail the entire Netlify build via utils.build.failPlugin(). This change catches errors, logs them as warnings, and tracks the error count while still completing the build successfully.

Also updates @remy/webmention dependency from ^1.4.5 to ^1.5.0.

Fixes #5

miklb added 2 commits January 7, 2026 19:52
Changes error handling from rejecting promises to logging warnings,
allowing the build to complete even when webmention discovery encounters
timeouts or other transient errors.

Previously, any error in webmention discovery would fail the entire
Netlify build via utils.build.failPlugin(). This change catches errors,
logs them as warnings, and tracks the error count while still completing
the build successfully.

Also updates @remy/webmention dependency from ^1.4.5 to ^1.5.0.
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.

Plugin failing on a timeout

1 participant