Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable20] Catch storage not available in versions expire command #24367

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #24363

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>
@rullzer rullzer added the 3. to review Waiting for reviews label Nov 25, 2020
@rullzer rullzer merged commit ae9fd3e into stable20 Nov 25, 2020
@rullzer rullzer deleted the backport/24363/stable20 branch November 25, 2020 15:17
This was referenced Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants