Added error logging for get list API call