avatar fetch fail less info

This commit is contained in:
milo
2025-05-07 21:31:54 +02:00
parent 5075840bfa
commit 7747e5fd74

View File

@@ -2473,7 +2473,7 @@ app.get('/user/:id/avatar', async (req, res) => {
res.json({ avatarUrl });
} catch (error) {
console.error('Error fetching user avatar:', error);
console.error('Error fetching user avatar');
res.status(500).json({ error: 'Failed to fetch avatar' });
}
})