diff --git "a/api/src/routes/channels/\043channel_id/messages/index.ts" "b/api/src/routes/channels/\043channel_id/messages/index.ts" index fc0f88b..1faf9a3 100644 --- "a/api/src/routes/channels/\043channel_id/messages/index.ts" +++ "b/api/src/routes/channels/\043channel_id/messages/index.ts" @@ -123,15 +123,11 @@ MoreThan((BigInt(around) - BigInt(halfLimit)).toString()), LessThan((BigInt(around) + BigInt(halfLimit)).toString()) ]; - } - let messages; - try { - messages = await Message.find(query); - } - catch (e) { return res.json([]); } + + const messages = await Message.find(query); const endpoint = Config.get().cdn.endpointPublic; return res.json(