Skip to content

exportUrlsToPortal: check for dbus error instead of directory

This ensures the export doesn't happen if portal fails to export any url whether it's due to being a directory or any other reason.

As a drive-by, this also prevents the interface leak in case of a fuse error and moves modifying the mime data to the end of the method so it never results in a partial transfer.

Merge request reports