langflow/src
Gabriel Luiz Freitas Almeida 1c3ee13a85
refactor: improve file handling in loading starter projects (#3123)
Refactor the `load_starter_projects` function in `setup.py` to improve error handling when loading starter projects. Instead of using a try-except block around the `orjson.loads` function, the function now uses a `with` statement to open the file and handle any JSON decoding errors. This ensures that any errors are properly caught and a `ValueError` is raised with the appropriate error message. Additionally, the function now logs a message when a starter project is successfully loaded.
2024-07-31 22:11:46 +00:00
..
backend refactor: improve file handling in loading starter projects (#3123) 2024-07-31 22:11:46 +00:00
frontend refactor: change login/auto_login to use UseQuery (#3033) 2024-07-31 20:23:51 +00:00