Commit 0c129e5
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- google/ads/google_ads
- tests
5 files changed
+750
-201
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
0 commit comments