chore(server): enhance log context and messages (#10151)

This commit is contained in:
Brooooooklyn
2025-02-13 12:24:12 +00:00
parent 79d5f55471
commit 96bde3ceaf
3 changed files with 12 additions and 5 deletions

View File

@@ -645,7 +645,7 @@ export class PermissionService {
action,
};
this.logger.log(
`User's role is lower than required (${JSON.stringify(info)})`
`Page role is lower than required, continue to check workspace permission (${JSON.stringify(info)})`
);
}

View File

@@ -93,7 +93,7 @@ export class QuotaService {
this.logger.error(`Workspace size is invalid: ${size.value}`);
}
} else {
this.logger.error(`Failed to get workspace size: ${size.reason}`);
this.logger.error(`Failed to get workspace size`, size.reason);
}
return total;
}, 0);