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

Fixed 500 error if model files are missing #12107

Merged
merged 2 commits into from
Nov 14, 2022

Conversation

snipe
Copy link
Owner

@snipe snipe commented Nov 14, 2022

Similar to #12105 but for model uploads.

Screen Shot 2022-11-14 at 10 01 52 PM

Signed-off-by: snipe <snipe@snipe.net>
@what-the-diff
Copy link

what-the-diff bot commented Nov 14, 2022

  • Added a check to see if the file exists in storage before displaying it.
  • If the file does not exist, we strike through its name and remove any size information that would have been displayed for it.

@snipe snipe merged commit ff0b687 into develop Nov 14, 2022
@snipe snipe deleted the fixes/500_on_missing_model_file branch November 14, 2022 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant