nextcloud/apps/files_versions/lib
Christoph Wurst 19678d182f
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:51:22 +01:00
..
AppInfo Update license headers 2019-12-05 15:38:45 +01:00
BackgroundJob Update license headers 2019-12-05 15:38:45 +01:00
Command Catch storage not available in versions expire command 2020-11-25 11:51:22 +01:00
Controller Update license headers 2019-12-05 15:38:45 +01:00
Events Update license headers 2019-12-05 15:38:45 +01:00
Listener Update license headers 2019-12-05 15:38:45 +01:00
Sabre Update license headers 2019-12-05 15:38:45 +01:00
Versions Merge pull request #18231 from nextcloud/fix/shared_version_restore 2019-12-09 21:17:24 +01:00
Capabilities.php Update license headers 2019-12-05 15:38:45 +01:00
Expiration.php Update license headers 2019-12-05 15:38:45 +01:00
Hooks.php Update license headers 2019-12-05 15:38:45 +01:00
Storage.php Fix #19066 - Array offset error due to empty file versions array 2020-04-21 08:46:52 +00:00