nextcloud/apps/files_versions/lib/Command
Christoph Wurst 2ff42f6b1a 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 10:40:21 +00:00
..
CleanUp.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Expire.php Catch storage not available in versions expire command 2020-11-25 10:40:21 +00:00
ExpireVersions.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00