Add proper logging for custom channel exceptions.