Add error handling to task promises