Skip to content

Commit

Permalink
chore: Fix data layer service logs (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley authored Jun 21, 2024
1 parent 7303f7a commit f8028fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runner/src/server/services/data-layer/data-layer-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,16 @@ export function createDataLayerService (

const taskId = crypto.randomUUID();

logger.info(`Starting provisioning task: ${taskId}`);

tasks[taskId] = new AsyncTask(
provisioner
.provisionUserApi(provisioningConfig)
.then(() => {
logger.info('Successfully deprovisioned Data Layer');
logger.info('Successfully provisioned Data Layer');
})
.catch((err) => {
logger.error('Failed to deprovision Data Layer', err);
logger.error('Failed to provision Data Layer', err);
throw err;
})
);
Expand Down

0 comments on commit f8028fe

Please sign in to comment.