-
-
Notifications
You must be signed in to change notification settings - Fork 471
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
Improve error handling for invalid JSON in global_config.json
#1404
Comments
@timabbott I am unable to find global_config.json file can you please specify which global_config.json file you are referring to? |
Fixes zulip#1404. I added a dialog box error function, that gets thrown whenever json format is found to be incorrect.
@timabbott I've created a Draft PR. Please let me know any further changes if required. |
Fixes zulip#1404. I added a dialog box error function, that gets thrown whenever json format is found to be incorrect. fixed dialog import
…rrect format Fixes zulip#1404. I added a dialog box error function, that gets thrown whenever json format is found to be incorrect.
@zulipbot claim |
Hello @Prince-Singh-05! Thanks for your interest in Zulip! You have attempted to claim an issue without the label "help wanted". You can only claim and submit pull requests for issues with the help wanted label. If this is your first time here, we recommend reading our guide for new contributors before getting started. |
Users who have invalid JSON in their
global_config.json
file, which is kinda easy to do if you hand-edit JSON and are not good at remembering to skip commas, experience a blank screen when trying to open the application; the only visible errors are in the JS console for the app.We should introduce a more reasonable user-facing failure here.
The text was updated successfully, but these errors were encountered: