Skip to content

Commit c3d85d8

Browse files
nfebeAndyScherzinger
authored andcommitted
refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com> [skip ci]
1 parent c01a17f commit c3d85d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/files_sharing/src/views/SharingDetailsTab.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,8 @@ export default {
728728
beforeMount() {
729729
this.initializePermissions()
730730
this.initializeAttributes()
731-
console.debug('shareSentIn', this.share)
732-
console.debug('config', this.config)
731+
logger.debug('Share object received', { share: this.share })
732+
logger.debug('Configuration object received', { config: this.config })
733733
},
734734
735735
mounted() {
@@ -921,7 +921,7 @@ export default {
921921
* @param {Share} share incoming share object
922922
*/
923923
async addShare(share) {
924-
console.debug('Adding a new share from the input for', share)
924+
logger.debug('Adding a new share from the input for', { share })
925925
const path = this.path
926926
try {
927927
const resultingShare = await this.createShare({
@@ -936,7 +936,7 @@ export default {
936936
})
937937
return resultingShare
938938
} catch (error) {
939-
console.error('Error while adding new share', error)
939+
logger.error('Error while adding new share', { error })
940940
} finally {
941941
// this.loading = false // No loader here yet
942942
}

0 commit comments

Comments
 (0)