Commit 0785eb3
committed
fix: update error handling in manage.py 💡
This commit refines the error handling in the `manage.py` script. Specifically, it captures and logs the exception message when an `ImportError` occurs during application import. This provides more detailed logging and helps in diagnosing issues related to application loading. Additionally, it updates the `ruff` configuration to include a new check for try/except blocks (`TRY400`).1 parent 2d1fbc9 commit 0785eb3
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | | - | |
| 297 | + | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
0 commit comments