We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dbfe7b1 + 1de26c8 commit 052f096Copy full SHA for 052f096
apps/provisioning_api/lib/Controller/AUserData.php
@@ -268,6 +268,18 @@ protected function fillStorageInfo(string $userId): array {
268
self::USER_FIELD_QUOTA => $quota !== false ? $quota : 'none',
269
'used' => 0
270
];
271
+ } catch (\Exception $e) {
272
+ \OC::$server->get(\Psr\Log\LoggerInterface::class)->error(
273
+ "Could not load storage info for {user}",
274
+ [
275
+ 'app' => 'provisioning_api',
276
+ 'user' => $userId,
277
+ 'exception' => $e,
278
+ ]
279
+ );
280
+ /* In case the Exception left things in a bad state */
281
+ \OC_Util::tearDownFS();
282
+ return [];
283
}
284
return $data;
285
0 commit comments