owncloud/core — pull request #10658 by Xenopathic (2014-08-27 08:06:16+00:00)
Title: Prevent errors on broken SFTP config

Steps to reproduce:

1. Create a valid SFTP config with an invalid root (`~` and `$HOME` were tested)
2. Attempt to view the main Files page
3. Notice 'Unknown error' and errors in owncloud.log
4. Retry with fix, no errors