Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Jan 17, 2025

Logging the exception helps to figure out why a provider failed, also we should not expose internal exception messages as API response data.

@juliusknorr juliusknorr merged commit 6afe125 into master Jan 17, 2025
187 of 189 checks passed
@juliusknorr juliusknorr deleted the fix/convert-log branch January 17, 2025 14:10
use OCP\Files\IRootFolder;
use OCP\IL10N;
use OCP\IRequest;
use function OCP\Log\logger;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the new recommended way? 🙈
It looks so odd 😁

@Altahrim Altahrim mentioned this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants