diff options
author | Robin Appelman <robin@icewind.nl> | 2018-02-07 17:26:42 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-02-08 15:18:26 +0100 |
commit | 85d23dd6fcefe0acf07b152c9ae57824e02e0429 (patch) | |
tree | 19de2b3f948687bc3f4a00cbd65c136d7c5bf474 /lib/private/Files/Mount | |
parent | df6e23c98ce3d5a50c417a085f2095f42b663efa (diff) | |
download | nextcloud-server-85d23dd6fcefe0acf07b152c9ae57824e02e0429.tar.gz nextcloud-server-85d23dd6fcefe0acf07b152c9ae57824e02e0429.zip |
better error message on catalog error
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Mount')
-rw-r--r-- | lib/private/Files/Mount/ObjectHomeMountProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Mount/ObjectHomeMountProvider.php b/lib/private/Files/Mount/ObjectHomeMountProvider.php index 440a8bc4608..9c09c0737c8 100644 --- a/lib/private/Files/Mount/ObjectHomeMountProvider.php +++ b/lib/private/Files/Mount/ObjectHomeMountProvider.php @@ -84,10 +84,11 @@ class ObjectHomeMountProvider implements IHomeMountProvider { if (!isset($config['arguments'])) { $config['arguments'] = []; } - $config['arguments']['user'] = $user; // instantiate object store implementation $config['arguments']['objectstore'] = new $config['class']($config['arguments']); + $config['arguments']['user'] = $user; + return $config; } |