Skip to content
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

fix: exception handling for reading and creating JSON objects #34

Merged
merged 3 commits into from
Apr 4, 2023

Conversation

dudantas
Copy link
Member

@dudantas dudantas commented Apr 3, 2023

This adds exception handling to the code that reads and creates JSON objects in the program. The code now uses try-catch blocks to catch exceptions that may be thrown during the process of reading and writing JSON objects, to avoid unhandled failures that may interrupt the program's execution. With these changes, the program can now handle errors in a more robust way and offer a better user experience.

@dudantas dudantas force-pushed the fix-first-user-open-program branch from 1559af2 to 9ceecdd Compare April 3, 2023 14:58
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 4, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell E 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas merged commit 242165e into main Apr 4, 2023
@dudantas dudantas deleted the fix-first-user-open-program branch April 4, 2023 02:46
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