Skip to content

Updated data initialization to include try catch statements - #2457

Closed
Alien-Axolotl wants to merge 2 commits into
fastapi:masterfrom
Alien-Axolotl:master
Closed

Updated data initialization to include try catch statements#2457
Alien-Axolotl wants to merge 2 commits into
fastapi:masterfrom
Alien-Axolotl:master

Conversation

@Alien-Axolotl

Copy link
Copy Markdown

Summary

  • Added a try...except block to initial_data.py to catch and log any errors that occur during initial data creation.
  • Re-raises the exception so the script properly exits with a non-zero status code.

@YuriiMotov

Copy link
Copy Markdown
Member

Thanks, but I think we don't need this. The Script already fails loudly in case of error

@YuriiMotov YuriiMotov closed this Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants