Fondation

This commit is contained in:
alma 2026-01-16 23:59:24 +01:00
parent 1af01840c3
commit 2def4a8e9b

View File

@ -786,7 +786,7 @@ export default function CarnetPage() {
}
} else {
const errorText = await response.text().catch(() => '');
let errorData = {};
let errorData: { message?: string; error?: string } = {};
try {
errorData = errorText ? JSON.parse(errorText) : {};
} catch {