for correctness, 422 should be delivery success as well
Ted Unangst tedu@tedunangst.com
Tue, 19 Dec 2023 18:03:35 -0500
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
deliverator.go
→
deliverator.go
@@ -74,6 +74,9 @@ str := err.Error()
if strings.Contains(str, "http post status: 400") { return true } + if strings.Contains(str, "http post status: 422") { + return true + } return false }