Catch exceptions in the shell extension and submit them