MED-244: Console.log the actual error that happened

This commit is contained in:
2025-11-13 13:11:04 +02:00
parent bf5546c48b
commit 96fbb71c87

View File

@@ -253,6 +253,7 @@ export async function getUserInProgressResponses({
.order('created_at', { ascending: false }); .order('created_at', { ascending: false });
if (error) { if (error) {
console.error("Failed to get analysis responses", error);
throw new Error('Something went wrong'); throw new Error('Something went wrong');
} }