googleapis / googleapis/google-cloud-cpp

Consider adding error handling for ParseComputeOperationInfo

Open
#14,337 0 comments 0 reactions 0 assignees View on GitHub
type: cleanup
Dominant language
C++
Stars
659
Forks
462
Avg merge
1d 2h
Merged PRs (30d)
89

Description

The call sites for `ParseComputeOperationInfo` do not provide the ability to propagate an error if `ParseComputeOperationInfo` detected one, such as a malformed URL. Consider enhancing the async get and async cancel request setting mechanism in `AsyncRestLongRunningOperation` to handle errors and refactor `ParseComputeOperationInfo` to return a `StatusOr`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.