Skip to content

Commit f2767dd

Browse files
author
Jon Wayne Parrott
authored
Fix how api_core.operation populates exception errors (#4231)
1 parent cdfa25b commit f2767dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/api_core/operation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _set_result_from_operation(self):
110110
elif self._operation.HasField('error'):
111111
exception = exceptions.GoogleAPICallError(
112112
self._operation.error.message,
113-
errors=(self._operation.error),
113+
errors=(self._operation.error,),
114114
response=self._operation)
115115
self.set_exception(exception)
116116
else:

0 commit comments

Comments
 (0)