Exception handling for 500 server errors from ps..