-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚧Add try catch around JSON parsing #31
Labels
Milestone
Comments
CalvinWilkinson
added
low-priority
Low Priority
preview
Done while in preview
💎enhancement
An improvement on something
labels
Jun 26, 2024
CalvinWilkinson
added a commit
that referenced
this issue
Jun 27, 2024
1 task
CalvinWilkinson
added a commit
that referenced
this issue
Jun 27, 2024
* Start work for issue #31 * enhance: catch json parsing errors and print friendly error msg * ci: catch json parse errors * deps,refactor: replace crayon dependency with built in deno log colors * refactor: change name of github console log functions * config: add deno task to reload cache * deps: update deno lock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Complete The Item Below
Description
Add try-catch blocks around all JSON parsing code to properly throw a meaningful error message stating that the JSON data could not be parsed and is probably malformed.
Also, include the error message from the original error in the error message.
Acceptance Criteria
The items to complete to satisfy the Definition of Done.
ToDo Items
The items to complete to satisfy the Definition of Done.
Issue Dependencies
No response
Related Work
No response
Additional Information:
Unit Tests
Reasons for local unit test execution:
💡Warning💡
If the unit tests pass remotely and are not executed locally, this means we could be letting a bug slip into production.
Though bugs will always exist in some capacity, we should all do our part to help prevent them from happening.
Change Type Labels
🐛bug
🧨breaking changes
✨new feature
♻️cicd
⚙️config
🏎️performance
🗒️documentation/code
📝documentation/product
Priority Type Labels
low priority
medium priority
high priority
Code of Conduct
The text was updated successfully, but these errors were encountered: