Logging bad discord resources

This commit is contained in:
Asaf Gartner 2022-05-30 21:56:09 +03:00
parent 2bb14c1794
commit ac2d00aca7
1 changed files with 1 additions and 0 deletions

View File

@ -448,6 +448,7 @@ func downloadDiscordResource(ctx context.Context, url string) ([]byte, string, e
content, err := io.ReadAll(res.Body)
if err != nil {
logging.ExtractLogger(ctx).Error().Str("Url", url).Msg("failed to download resource")
return nil, "", err
}