uncommented error handling in post success/failure functions