Skip to content

Commit

Permalink
Update handling of exceptions in unary_unary interceptors (#27)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
BenRKarl authored Feb 1, 2019
1 parent 7f6fb9d commit 0c129e5
Show file tree
Hide file tree
Showing 5 changed files with 750 additions and 201 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
* 0.7.0:
- Google Ads v0_7 release.
- Address inconsistent exception handling in Exception and Logging
interceptors.
- Pin `google-api-core` and `grpcio` dependencies.

* 0.6.0:
- Add configurable logging functionality.
Expand Down
1 change: 1 addition & 0 deletions google/ads/google_ads/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
import google.ads.google_ads.client
import google.ads.google_ads.errors


VERSION = '0.7.0'
Loading

0 comments on commit 0c129e5

Please sign in to comment.