diff --git a/app/retrogit.go b/app/retrogit.go index 813f9ce..ff23059 100644 --- a/app/retrogit.go +++ b/app/retrogit.go @@ -276,6 +276,12 @@ func sendDigestErrorMail(e error, c context.Context, gitHubUserId int) { // Ignore 502s from GitHub, there's nothing we do about them. return } + if appengine.IsTimeoutError(e) || + strings.Contains(e.Error(), "DEADLINE_EXCEEDED") { + // Ignore deadline exceeded errors for URL fetches + return + } + errorMessage := &mail.Message{ Sender: "RetroGit Admin ", To: []string{"mihai.parparita@gmail.com"},