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 gallery export panic #4311

Merged
merged 3 commits into from
Nov 26, 2023

Conversation

DingDongSoLong4
Copy link
Collaborator

Similar fix to #4157, gallery URLs weren't being loaded resulting in a panic.

Also replaced %s and err.Error() with %v and err

And gallery export errors are now logged using DisplayName() rather than PrimaryChecksum() - galleries without any files have no primary checksum, so logging by name makes more sense.

Fixes #4310

@WithoutPants WithoutPants added the bug Something isn't working label Nov 26, 2023
@WithoutPants WithoutPants added this to the Version 0.24.0 milestone Nov 26, 2023
@WithoutPants WithoutPants merged commit 0e7c58a into stashapp:develop Nov 26, 2023
2 checks passed
@DingDongSoLong4 DingDongSoLong4 deleted the gallery-export-panic branch November 26, 2023 23:44
halkeye pushed a commit to halkeye/stash that referenced this pull request Sep 1, 2024
* Load URLs when exporting galleries
* Remove err.Error()
* Log gallery DisplayName rather than PrimaryChecksum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metadata full export crashes on galleries
2 participants