Skip to content

Commit

Permalink
fix startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Sep 27, 2023
1 parent 43a7e56 commit 9b3afe1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/meteor/ee/app/license/server/startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ settings.watch<string>('Site_Url', (value) => {
});

callbacks.add('workspaceLicenseChanged', async (updatedLicense) => {
await License.setLicense(updatedLicense);
try {
void License.setLicense(updatedLicense);
} catch (_error) {
// Ignore
}
});

License.setLicenseLimitCounter('activeUsers', () => Users.getActiveLocalUserCount());
Expand Down

0 comments on commit 9b3afe1

Please sign in to comment.