Skip to content

Conversation

@backportbot-nextcloud
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 <[email protected]>
@ChristophWurst ChristophWurst force-pushed the backport/24363/stable19 branch from be8f229 to 2e511e3 Compare November 25, 2020 10:52
@rullzer rullzer added the 3. to review Waiting for reviews label Nov 25, 2020
@rullzer rullzer merged commit b760aa9 into stable19 Nov 25, 2020
@rullzer rullzer deleted the backport/24363/stable19 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.

3 participants