Have the main window catch any errors thrown by the renderer and display them as a critical message box:
Previously, any errors that occurred during export (e.g. out of storage) would go uncaught and crash the entire program, potentially leaving a huge mess behind as it doesn't have the chance to cleanup the files.
How to test
Create some condition that might lead to an error, or intentionally throw one by placing something like raise Exception("Example error thrown in export_video()") in the Renderer export methods.
Have the main window catch any errors thrown by the renderer and display them as a critical message box:
Previously, any errors that occurred during export (e.g. out of storage) would go uncaught and crash the entire program, potentially leaving a huge mess behind as it doesn't have the chance to cleanup the files.
How to test
Create some condition that might lead to an error, or intentionally throw one by placing something like
raise Exception("Example error thrown in export_video()")
in theRenderer
export methods.