From 92087603542bbbd1660604615ab407617fb60fea Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 2 Jan 2025 11:09:56 +0200 Subject: [PATCH] twittermeow: return account settings auth errors immediately --- pkg/twittermeow/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/twittermeow/client.go b/pkg/twittermeow/client.go index a1d88fe..c2cfb32 100644 --- a/pkg/twittermeow/client.go +++ b/pkg/twittermeow/client.go @@ -137,6 +137,9 @@ func (c *Client) LoadMessagesPage() (*response.InboxInitialStateResponse, *respo IncludeExtDMNSFWMediaFilter: true, }) if err != nil { + if IsAuthError(err) { + return nil, nil, err + } c.Logger.Warn().Err(err).Msg("Failed to get account settings") data = &response.AccountSettingsResponse{} }