feat: log error of organization setup job.

This commit is contained in:
a.bouhuolia
2021-09-21 16:10:11 +02:00
parent e30dd77ff7
commit e011b2a82b

View File

@@ -24,8 +24,11 @@ export default class OrganizationSetupJob {
await licenseService.build(tenantId);
done();
} catch (e) {
console.error(e);
// Unlock build status of the tenant.
await licenseService.revertBuildRunJob(tenantId, _id);
done(e);
}
}