Improve error handling in status_push.py

This file is still full of fail, but slightly less of it now.