nextcloud/apps/files_versions/lib
Christoph Wurst 2e511e3ea0
Catch storage not available in versions expire command
External storage with session credentials is not accessible without a
user session, hence background jobs and CLI commands can't work with
them. The previously unhandled exception causes logged errors in the
nextcloud log. This patch catches the specific exception and logs it as
warnings. So for a production instance the error won't spam their logs
for this non-recoverable and technically unsolvable error if the minimum
log level is set to the default of 3 (error).

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-25 11:52:26 +01:00
..
AppInfo Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
Command Catch storage not available in versions expire command 2020-11-25 11:52:26 +01:00
Controller Update license headers 2019-12-05 15:38:45 +01:00
Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Listener Update license headers for 19 2020-04-29 11:57:22 +02:00
Sabre Update license headers for 19 2020-04-29 11:57:22 +02:00
Versions Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Capabilities.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Expiration.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Hooks.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Storage.php Return all keys in getAllVersions() instead 2020-10-13 15:46:34 +00:00