Refacto error handling in trust center front end

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2025-08-05 11:05:04 +02:00
parent 036970afdd
commit bbac390382
2 changed files with 14 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ export function PublicTrustCenterLayout({ organizationName, organizationLogo, ch
credentials: 'include',
});
} catch (error) {
console.error('Logout failed:', error);
console.error('Logout failed');
} finally {
window.location.href = "/";
}