From 9c435a9ec625607a63329652e6fa43268b4f457e Mon Sep 17 00:00:00 2001 From: Fredrik Strand Oseberg Date: Wed, 11 Sep 2024 09:33:13 +0200 Subject: [PATCH] chore: add stringified logs (#8134) --- src/lib/features/project/project-service.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/features/project/project-service.ts b/src/lib/features/project/project-service.ts index 7080a37191..35f99f31be 100644 --- a/src/lib/features/project/project-service.ts +++ b/src/lib/features/project/project-service.ts @@ -966,12 +966,11 @@ export default class ProjectService { this.logger.info('-----------'); this.logger.info( - 'filteredUserPermissions', - filteredUserPermissions, + `filteredUserPermissions: ${JSON.stringify(filteredUserPermissions, null, 2)}`, ); this.logger.info( - 'rolesToBeAssignedPermissions', - rolesToBeAssignedPermissions, + `rolesToBeAssignedPermissions, + ${JSON.stringify(rolesToBeAssignedPermissions, null, 2)}`, ); this.logger.info('-----------');