error handling for async error