From 4c25c02fd97dccc9d0b2f8fdc6ae2f62e6c5e5cc 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 1f81a4bdc57..a1e9ac734e5 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -681,8 +681,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() { @@ -858,7 +858,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({ @@ -873,7 +873,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 }