diff --git a/client/ayon_resolve/plugins/create/create_editorial_package.py b/client/ayon_resolve/plugins/create/create_editorial_package.py index 4a00a51e4a..67ae9c3edb 100644 --- a/client/ayon_resolve/plugins/create/create_editorial_package.py +++ b/client/ayon_resolve/plugins/create/create_editorial_package.py @@ -17,6 +17,9 @@ def process(self): """Process the creation of the editorial package.""" current_timeline = lib.get_current_timeline() + if not current_timeline: + raise RuntimeError("Make sure to have an active current timeline.") + timeline_media_pool_item = lib.get_timeline_media_pool_item( current_timeline )