Update main.py to add a general try catch on error, change slider ranges #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(commit message: add general try/catch to stop the application from window.close() on error, changed range slider for steps, changed range slider for video length)
it is impossible to troubleshoot this application in this phase when the application window (GUI) and console window closes whenever an exception occurs, i propose a general try/catch and log, so on fatal exceptions, it is at least possible to view the error message, even if the GUI crashes, this might be more helpful to development, but at this moment, i figure the community would like to report issues with their actual exception messages rather than not reporting them at all.
i also took the freedom to adjust the range of the steps and length slider, because i was able to create high-step and high-length videos without any issues, it just takes longer, maybe we can add a warning if the range exceeds n seconds.
thank you for your time, and for the tool, very happy to play around with this.