Describe the bug
When the code in utils.py encounters an error it just stops the program execution instead of throwing an exception or printing an error like standard libraries do.
To Reproduce
Steps to reproduce the behavior:
- Pass an invalid or incorrectly formatted JSON file to any function in utils.py (e.g. readfromstring, readfromjson)
- The program will stop running completely.=
Expected behavior
When an error or exception is encountered, throw an exception for the caller to catch instead of exiting the program.
Desktop (please complete the following information):
N/A - irrelevant