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