fix: log DeepSeek error in risk-flags catch block
This commit is contained in:
@@ -151,7 +151,8 @@ ${JSON.stringify(aggregates, null, 2)}
|
||||
</zone_data>`,
|
||||
}],
|
||||
})
|
||||
} catch {
|
||||
} catch (err) {
|
||||
console.error('DeepSeek risk-flags error:', err)
|
||||
return NextResponse.json({ error: 'AI service unavailable' }, { status: 503 })
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user