mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: log error of organization setup job.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user