Add success and error attrs to completion block