Skip to content

Top-level response code error not checked in batch.finish #608

@cojenco

Description

@cojenco

The top-level response code in batch.finish is not checked and the error is not properly returned.

Surfaced in #404 , if a batch request fails, a ValueError: Bad response: not multi-part is returned instead of bubbling up the actual error. The ValueError in this case is misleading and not informative.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/python-storage API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions