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

fix: Log exceptions that happen during file conversion #50227

Merged
merged 1 commit into from
Jan 17, 2025

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
@@ -24,6 +24,7 @@
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.

4 participants