Skip to content

Commit 9991de1

Browse files
author
Artem
committed
try update statics only after default data populated
1 parent 857b1f4 commit 9991de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/statics-management/providers/auto-updated-statics.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class AutoUpdatedStaticsProvider implements OnModuleInit {
2424
*/
2525
onModuleInit() {
2626
// async operation to not wait for it and not block user in case when no internet connection
27-
this.initDefaults().catch().finally(this.autoUpdate.bind(this));
27+
this.initDefaults().finally(this.autoUpdate.bind(this));
2828
}
2929

3030
/**

0 commit comments

Comments
 (0)