Skip to content

refactor(core): replace missingBuildHandler() with throwing of new SetupError#2922

Closed
iuioiua wants to merge 12 commits intodenoland:mainfrom
iuioiua:remove-finish-setup
Closed

refactor(core): replace missingBuildHandler() with throwing of new SetupError#2922
iuioiua wants to merge 12 commits intodenoland:mainfrom
iuioiua:remove-finish-setup

Conversation

@iuioiua
Copy link
Contributor

@iuioiua iuioiua commented May 12, 2025

This PR changes the behaviour of App.prototype.handler() in that when run, it throws a new SetupError instead of succeeding and serving a page that guides the dev to finish setting up the server. This provide more immediate feedback.

This might be a prerequisite for #2896.

@iuioiua iuioiua marked this pull request as ready for review May 12, 2025 08:20
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These changes might need to be reverted if checks in App.prototype.handler() are moved to App.prototype.listen().

@iuioiua iuioiua marked this pull request as draft May 12, 2025 23:51
@iuioiua iuioiua closed this Aug 12, 2025
@iuioiua iuioiua deleted the remove-finish-setup branch August 12, 2025 22:41
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.

1 participant