aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfenn-cs <fenn25.fn@gmail.com>2024-06-21 10:35:34 +0100
committerfenn-cs <fenn25.fn@gmail.com>2024-06-25 18:16:48 +0100
commitf7527c327991677eeb441d45b2bcec1ff936a5c3 (patch)
tree85b75220a2211b934193daf1eab38069644d0e96
parent38b5987b40a04cce6868bea2e7c33fe2ecd7e976 (diff)
downloadnextcloud-server-f7527c327991677eeb441d45b2bcec1ff936a5c3.tar.gz
nextcloud-server-f7527c327991677eeb441d45b2bcec1ff936a5c3.zip
refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
-rw-r--r--apps/files_sharing/src/views/SharingDetailsTab.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue
index ec33e0ec8aa..8254e84b4a3 100644
--- a/apps/files_sharing/src/views/SharingDetailsTab.vue
+++ b/apps/files_sharing/src/views/SharingDetailsTab.vue
@@ -729,8 +729,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() {
@@ -918,7 +918,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({
@@ -933,7 +933,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
}