Callback is not invoked upon serialization failure #1376
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
As raised in 732, there is a problem with handling invalid payload in client-interceptors.ts:
latency
contains a Duration as string (e.g. "1s"), the following failure occurs: google.logging.type.HttpRequest.latency: object expectedGiven a fact that the error is permanent and that payload never sent over network due to invalid encoding, the retries should never occur and original encoding error should be sent to callback so caller would see the issue with encoding immediately.
Here is a problematic payload used to reproduce the problem:
The following code snippet is used to repro a problem:
The text was updated successfully, but these errors were encountered: