Skip to content

Commit 02199b2

Browse files
committed
refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
1 parent 0281e6e commit 02199b2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ export default {
729729
beforeMount() {
730730
this.initializePermissions()
731731
this.initializeAttributes()
732-
console.debug('shareSentIn', this.share)
733-
console.debug('config', this.config)
732+
logger.debug('Share object received', { share: this.share })
733+
logger.debug('Configuration object received', { config: this.config })
734734
},
735735
736736
mounted() {
@@ -918,7 +918,7 @@ export default {
918918
* @param {Share} share incoming share object
919919
*/
920920
async addShare(share) {
921-
console.debug('Adding a new share from the input for', share)
921+
logger.debug('Adding a new share from the input for', { share })
922922
const path = this.path
923923
try {
924924
const resultingShare = await this.createShare({
@@ -933,7 +933,7 @@ export default {
933933
})
934934
return resultingShare
935935
} catch (error) {
936-
console.error('Error while adding new share', error)
936+
logger.error('Error while adding new share', { error })
937937
} finally {
938938
// this.loading = false // No loader here yet
939939
}

0 commit comments

Comments
 (0)