Change exception handling in inbox.status.

Summary: This revision makes exception handling more "Pythonic".

Test Plan: Test with unicode string in /etc/inboxapp/config.json.

Reviewers: khamidou

Reviewed By: khamidou

Differential Revision: https://review.inboxapp.com/D899