If a server.json contains invalid JSON, it is ignored which can lead to the file being overwritten with an empty one. If the server.json is invalid, there's really no reason to continue doing things like starting a server. Throw an exception so the current operation is aborted.
Gliffy Diagrams
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
If a server.json contains invalid JSON, it is ignored which can lead to the file being overwritten with an empty one. If the server.json is invalid, there's really no reason to continue doing things like starting a server. Throw an exception so the current operation is aborted.