diff --git a/cmd/messages_list.go b/cmd/messages_list.go index 307c142..66f62ae 100644 --- a/cmd/messages_list.go +++ b/cmd/messages_list.go @@ -497,6 +497,7 @@ func (ml *messagesList) openAttachment(attachment discord.Attachment) { resp, err := http.Get(attachment.URL) if err != nil { slog.Error("failed to fetch the attachment", "err", err, "url", attachment.URL) + return } defer resp.Body.Close()