diff options
author | MaZderMind | 2016-12-24 17:42:58 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-24 17:42:58 +0100 |
commit | 8d3c6a3afb5e5c1a1847e0de0f618acb22d51b3a (patch) | |
tree | 3420b4f5c3da44f17467ef0e4753750cf8705de0 /command | |
parent | 728b67508e8eddcf256d7dd7ce0457b04f2e1a0f (diff) |
handle download-errors again
Diffstat (limited to '')
-rw-r--r-- | command/download.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/command/download.php b/command/download.php index 9ec042e..2cf997e 100644 --- a/command/download.php +++ b/command/download.php @@ -125,14 +125,16 @@ function download_for_conference($what, $conference, $url, $cache) $url, $cache ); - if(!do_download($url, $cache)) + $resp = do_download($url, $cache); + if($resp !== true) { stderr( - ' !! download %s for conference %s from %s to %s failed miserably !!', + ' !! download %s for conference %s from %s to %s failed miserably: %s !!', $what, $conference->getSlug(), $url, - $cache + $cache, + $resp ); } return true; |