Skip to content

Commit

Permalink
Fix sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 committed Nov 15, 2024
1 parent 9688ece commit 81951f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/IndexedDBConfigCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function getDBConnectionFactory(): DBConnectionFactory | undefined {
});

// Check if it is possible to connect to the DB.
dbConnectionFactory().then(db => db.close());
dbConnectionFactory().then(db => db.close()).catch(() => { /* intentional no-op */ });

return dbConnectionFactory;
}
Expand Down

0 comments on commit 81951f3

Please sign in to comment.