diff --git a/backend/src/tools/koepi/routes.js b/backend/src/tools/koepi/routes.js index 08c044f..8965428 100644 --- a/backend/src/tools/koepi/routes.js +++ b/backend/src/tools/koepi/routes.js @@ -426,7 +426,10 @@ router.get('/offers', authenticate, async (req, res) => { router.get('/prospekte', authenticate, async (req, res) => { try { res.json(await scrapeProspekte()); } - catch(e) { res.status(500).json({ error: e.message }); } + catch(e) { + console.error('🍺 KöPi Prospekte-Fehler:', e.message); + res.status(500).json({ error: e.message }); + } }); router.post('/clear-cache', authenticate, (req, res) => {