Skip to content

Commit 0dc6478

Browse files
committed
refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <[email protected]>
1 parent 2c26525 commit 0dc6478

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
@@ -681,8 +681,8 @@ export default {
681681
beforeMount() {
682682
this.initializePermissions()
683683
this.initializeAttributes()
684-
console.debug('shareSentIn', this.share)
685-
console.debug('config', this.config)
684+
logger.debug('Share object received', { share: this.share })
685+
logger.debug('Configuration object received', { config: this.config })
686686
},
687687
688688
mounted() {
@@ -858,7 +858,7 @@ export default {
858858
* @param {Share} share incoming share object
859859
*/
860860
async addShare(share) {
861-
console.debug('Adding a new share from the input for', share)
861+
logger.debug('Adding a new share from the input for', { share })
862862
const path = this.path
863863
try {
864864
const resultingShare = await this.createShare({
@@ -873,7 +873,7 @@ export default {
873873
})
874874
return resultingShare
875875
} catch (error) {
876-
console.error('Error while adding new share', error)
876+
logger.error('Error while adding new share', { error })
877877
} finally {
878878
// this.loading = false // No loader here yet
879879
}

0 commit comments

Comments
 (0)