Better error handling for OstatusController.