Skip to content

feat(installer): add error handling for json/yaml parsing operations#7

Open
boffin-dmytro wants to merge 2 commits intomainfrom
fix/json-yaml-error-handling
Open

feat(installer): add error handling for json/yaml parsing operations#7
boffin-dmytro wants to merge 2 commits intomainfrom
fix/json-yaml-error-handling

Conversation

@boffin-dmytro
Copy link
Copy Markdown
Owner

Summary

Adds comprehensive error handling for JSON/YAML parsing to prevent silent failures.

Changes

  • Created json-utils.sh library with safe parsing functions
  • Added try-catch error handling to load-backend-contract.sh
  • Added validation functions for JSON/YAML files

Problem Solved

JSON parsing errors in backend contracts or manifests would cause cryptic failures. Now provides clear error messages with file paths.

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