Custom App hooks failing silently in Maya

Hi all!

I’ve created a custom app using the template starter app . I’ve implemented some hooks for it and then taken them over in our config.

My current issue as the title states is that when there’s an error in the hook it errors silently and gives no indication that something has gone wrong. I’ve even tried raising an Exception at the start of the hook and nothing ends up in the console within Maya.

I am calling the hooks like this:

            work_files_list = self._app.execute_hook(

Is there something I have missed here with how to catch errors the sgtk way? Any help here would be appreciated, happy to share some more snips if its helpful but sadly cant share the entire thing.