mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Add extra logging for root container creation.
This commit is contained in:
parent
f7825beea9
commit
5a3a612dce
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user