Rotonde / beaker

Rotonde client with user account combined(deprecated)
MIT License
205 stars 37 forks source link

Fix portal.json getting wiped if the json is invalid #26

Closed lsjroberts closed 6 years ago

lsjroberts commented 6 years ago

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.