Catch and log module exceptions from calling InvokeModules