charon
charon copied to clipboard
Improve "version not supported" Error Messaging
🎯 Problem to be solved
Launchnodes encountered an error while running the Docker Compose file for DV-alone, related to the cluster state and a JSON parsing error. The problem originated from an inconsistency between the cluster lock file version (v1.7.0) and the Docker Compose image version (v0.16.0). Subsequent discussions revealed a bug related to the registration timestamp JSON in v0.16, inconsistencies in versioning, and an overall lack of clarity in error messaging.
🛠️ Proposed solution
- [ ] Improve Error Messaging: Change the error message from a JSON parsing error to a more specific "version not supported" error. Parse the version only first and check if supported, then parse the rest of the JSON object.
- [ ] Document the Solution: Update documentation to explain the versioning and error handling process to prevent future confusion.