Commit 2668dd1
authored
fix: add error description to batch emptiness validation (#2109)
When invoking BatchRequest#execute(), we ensure the batch contains at
least one request to process. Previously this check, did not provide any
error message. Now, if the check fails "Batch is empty" will be the
message of the resulting exception.
Related to googleapis/java-storage#6941 parent 4fe04ff commit 2668dd1
File tree
1 file changed
+1
-1
lines changed- google-api-client/src/main/java/com/google/api/client/googleapis/batch
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments