Skip to content

Commit 737b7c5

Browse files
rosboTensorflow Cloud maintainers
authored andcommitted
Properly raise error if cloudbuild fails.
PiperOrigin-RevId: 344916835
1 parent 9351ae3 commit 737b7c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python/tensorflow_cloud/core/containerize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def get_docker_image(
474474
)
475475

476476
except errors.HttpError as err:
477-
RuntimeError(
477+
raise RuntimeError(
478478
"There was an error submitting the cloud build job. ", err)
479479
return image_uri
480480

0 commit comments

Comments
 (0)