Skip to content

Handle errors more gracefully

Compare
Choose a tag to compare
@knuckleheadsmiff knuckleheadsmiff released this 13 Sep 15:59
· 74 commits to master since this release

If I get server errors when trying to get device info rather then crashing the server (not nice) I just return an error to the status function.

Also in the case your credentials are bad, I give a better error message then what I did before (Parse error) which was not too helpful. Of course if you were in debug mode and had the debug sensitive flag on the root error would have shown. This however is a little nicer for simple password issues.