LycheeOrg / Lychee

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
https://lycheeorg.github.io/
MIT License
3.43k stars 304 forks source link

If LegacyIdException is thrown provide proper solution #2291

Closed ildyria closed 9 months ago

ildyria commented 9 months ago

Fixes #2290.

This small handler should resolve some of the exceptions we are having complaints about legacy id. (though I think we should probably drop the legacy id completely, it is not like we are going to go back at any time.

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b9e9231) 86.67% compared to head (3aea2fd) 86.47%.

Additional details and impacted files