Skip to content

Comments

fix: abort build on rendering error instead of emitting error HTML#70

Merged
uhyo merged 1 commit intomasterfrom
claude/abort-build-on-error-K7CNG
Feb 23, 2026
Merged

fix: abort build on rendering error instead of emitting error HTML#70
uhyo merged 1 commit intomasterfrom
claude/abort-build-on-error-K7CNG

Conversation

@uhyo
Copy link
Owner

@uhyo uhyo commented Feb 23, 2026

Previously, when prerendering failed during build, the error was caught
and a fallback error HTML was emitted, allowing the build to complete
silently with broken output. Now the error is re-thrown in build mode so
the build fails immediately. The graceful fallback (500 status + client
re-render) is preserved for dev mode only.

https://claude.ai/code/session_01Ffzhp4zABYA1gskj9RCT9r

Previously, when prerendering failed during build, the error was caught
and a fallback error HTML was emitted, allowing the build to complete
silently with broken output. Now the error is re-thrown in build mode so
the build fails immediately. The graceful fallback (500 status + client
re-render) is preserved for dev mode only.

https://claude.ai/code/session_01Ffzhp4zABYA1gskj9RCT9r
@uhyo uhyo merged commit 7b92a5d into master Feb 23, 2026
1 check passed
@uhyo uhyo deleted the claude/abort-build-on-error-K7CNG branch February 23, 2026 02:36
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