Updated post for error handling