From 57ab1b42064ec417cb0dbf1b121b78606d3d8365 Mon Sep 17 00:00:00 2001 From: fenn-cs Date: Fri, 21 Jun 2024 10:35:34 +0100 Subject: [PATCH] refactor(SharingDetailsView): Use NC logger Signed-off-by: fenn-cs --- apps/files_sharing/src/views/SharingDetailsTab.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 88b3b13a8afa4..00d28aeab7b68 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -734,8 +734,8 @@ export default { beforeMount() { this.initializePermissions() this.initializeAttributes() - console.debug('shareSentIn', this.share) - console.debug('config', this.config) + logger.debug('Share object received', { share: this.share }) + logger.debug('Configuration object received', { config: this.config }) }, mounted() { @@ -932,7 +932,7 @@ export default { * @param {Share} share incoming share object */ async addShare(share) { - console.debug('Adding a new share from the input for', share) + logger.debug('Adding a new share from the input for', { share }) const path = this.path try { const resultingShare = await this.createShare({ @@ -947,7 +947,7 @@ export default { }) return resultingShare } catch (error) { - console.error('Error while adding new share', error) + logger.error('Error while adding new share', { error }) } finally { // this.loading = false // No loader here yet }