From fb379c8a9336c8a26c52490f3aa0906b12ca5660 Mon Sep 17 00:00:00 2001 From: Natrim Date: Fri, 30 Aug 2019 09:41:17 +0200 Subject: [PATCH] CoreAdminRouter - log initializeResources errors --- packages/ra-core/src/CoreAdminRouter.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ra-core/src/CoreAdminRouter.tsx b/packages/ra-core/src/CoreAdminRouter.tsx index bf2bc1cfac1..aa542cb2299 100644 --- a/packages/ra-core/src/CoreAdminRouter.tsx +++ b/packages/ra-core/src/CoreAdminRouter.tsx @@ -105,6 +105,7 @@ export class CoreAdminRouter extends Component< }); } } catch (error) { + console.error(error); this.props.userLogout(); } };