Mercurial > hg > ywww
changeset 41:0578c6e438d3
merge
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Sun, 30 Jul 2017 05:36:48 -0400 |
parents | 77ff181476b8 (diff) ae1459564f66 (current diff) |
children | 3f400072bf14 |
files | xml/getAmazonInfo.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/getAmazonInfo.php Mon Jul 24 11:38:35 2017 -0400 +++ b/xml/getAmazonInfo.php Sun Jul 30 05:36:48 2017 -0400 @@ -113,13 +113,13 @@ $xml = new SimpleXMLElement($output); $resName=$xml->getName(); $code=$xml->Error->Code; - file_put_contents('/var/ywww/debug/phpDebug',"Losing: $resName, $code\n",FILE_APPEND); + file_put_contents('/var/ywww/debug/phpDebug',"Losing (test): $resName, $code\n",FILE_APPEND); if ($code=='RequestThrottled') { usleep(200000); // Try to reduce throttling until we get a // principled solution in place } else { - file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\n". + file_put_contents('/var/ywww/debug/phpDebug',"parms: $go\nurl: $url\n". print_r($parameters,TRUE)."\n",FILE_APPEND); if ($code=="") { file_put_contents('/var/ywww/debug/phpDebug',"error elt:\n$output\n",FILE_APPEND);