-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle error when building schema
The code changes in pylon-dev/src/index.ts now include error handling when building the schema. If an error occurs during the build process, the server will be killed and the error will be logged. This ensures that the server is not left running in an inconsistent state. In the addition, the development server no longer exits when a build error occurs. When a user makes a syntax error and fixes it afterwards, the service is up and running again without the need to manually restart it.
- Loading branch information
Showing
2 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters