Skip to content

Commit 0c129e5

Browse files
authored
Update handling of exceptions in unary_unary interceptors (#27)
* Separate google-api-core and grpcio deps in order to pin grpcio * Update flow of ExceptionInterceptor.intercept_unary_unary method to put logic preceding the try/catch into an else block. * Update LoggingInterceptor.intercept_unary_unary to more safely parse information from response/exception objects.
1 parent 7f6fb9d commit 0c129e5

File tree

5 files changed

+750
-201
lines changed

5 files changed

+750
-201
lines changed

ChangeLog

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
* 0.7.0:
22
- Google Ads v0_7 release.
3+
- Address inconsistent exception handling in Exception and Logging
4+
interceptors.
5+
- Pin `google-api-core` and `grpcio` dependencies.
36

47
* 0.6.0:
58
- Add configurable logging functionality.

google/ads/google_ads/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
import google.ads.google_ads.client
2020
import google.ads.google_ads.errors
2121

22+
2223
VERSION = '0.7.0'

0 commit comments

Comments
 (0)