Refacto error handling in trust center front end
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
@@ -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 = "/";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user