This separates out the error catching for the portal.json not existing and it having invalid json.
If it is invalid for now it silently errors, which leads to the visual output seen in #7. We should add better error handling at some point. But this fix just protects users who may modify their portal.json manually.
This separates out the error catching for the
portal.json
not existing and it having invalid json.If it is invalid for now it silently errors, which leads to the visual output seen in #7. We should add better error handling at some point. But this fix just protects users who may modify their
portal.json
manually.