Skip to content

fix: don't die if we can't encode file metadata on upload#62208

Open
icewind1991 wants to merge 1 commit into
masterfrom
filemetadata-serialize-fail
Open

fix: don't die if we can't encode file metadata on upload#62208
icewind1991 wants to merge 1 commit into
masterfrom
filemetadata-serialize-fail

Conversation

@icewind1991

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

When the json_encode fails, don't die with an error, instead log the failure and continue without saving the metadata.

TODO

  • ...

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@icewind1991

Copy link
Copy Markdown
Member Author

Fixes #62095

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Carl Schwan <carlschwan@kde.org>
@CarlSchwan CarlSchwan force-pushed the filemetadata-serialize-fail branch from c0d065f to 0d74414 Compare July 16, 2026 05:57
@CarlSchwan

Copy link
Copy Markdown
Member

/backport! to stable34

@CarlSchwan

Copy link
Copy Markdown
Member

/backport! to stable33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants