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 @@ -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 }
You can’t perform that action at this time.
0 commit comments