diff options
| author | Jonathan Amsterdam <jba@google.com> | 2021-02-12 15:15:58 -0500 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2021-02-12 21:22:07 +0000 |
| commit | 443deaea06ee256d48681a37ece9c621b08313f7 (patch) | |
| tree | c0a4693b3885c5db3ee03e36301258c2d8b34cec /internal/postgres/insert_module_test.go | |
| parent | 84574e5b8d2668d5f07f7bb7ee8ae19b7dfd22c3 (diff) | |
| download | go-x-pkgsite-443deaea06ee256d48681a37ece9c621b08313f7.tar.xz | |
internal/database: catch missing retriable errors
We've noticed that we aren't retrying errors that have the right
serialization code. The likely reason is that the error type is not
what we expect. Get information about the type so we can recognize it
in the code.
For golang/go#43899
Change-Id: I72aceb12002eecbf580654b77c68d845759e8182
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/291609
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'internal/postgres/insert_module_test.go')
0 files changed, 0 insertions, 0 deletions
