File tree Expand file tree Collapse file tree
apps/files_sharing/src/views Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments