feat: Add extra logging for root container creation.

This commit is contained in:
Ruben Verborgh 2021-01-01 16:29:03 +01:00
parent f7825beea9
commit 5a3a612dce

View File

@ -38,6 +38,7 @@ export class RootContainerInitializer extends Initializer {
*/
protected async hasRootContainer(): Promise<boolean> {
try {
this.logger.debug(`Checking for root container at ${this.baseId.path}`);
const result = await this.store.getRepresentation(this.baseId, {});
this.logger.debug(`Existing root container found at ${this.baseId.path}`);
result.data.destroy();