mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +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);
|
await licenseService.build(tenantId);
|
||||||
done();
|
done();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.error(e);
|
||||||
|
|
||||||
// Unlock build status of the tenant.
|
// Unlock build status of the tenant.
|
||||||
await licenseService.revertBuildRunJob(tenantId, _id);
|
await licenseService.revertBuildRunJob(tenantId, _id);
|
||||||
|
|
||||||
done(e);
|
done(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user