Commit ba3b3b6
committed
Refactor entrypoint to improve error handling and execution flow
- Added a main guard to the entrypoint function to ensure proper execution when the script is run directly.
- Enhanced error handling by wrapping the main execution in a try-except block, allowing for better management of exceptions.1 parent ab89928 commit ba3b3b6
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
0 commit comments