Fix error handling in ACP connector