fix(app): avoid throwing on handled message load error (#16)

This commit is contained in:
hampus-fluxer 2026-01-04 01:09:54 +01:00 committed by GitHub
parent 2da7ba412e
commit bb4ab2bcaa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -264,7 +264,7 @@ export const fetchMessages = async (
} catch (error) {
logger.error(`Failed to fetch messages for channel ${channelId}:`, error);
MessageStore.handleLoadMessagesFailure({channelId});
throw error;
return [];
}
})();