aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--command/download.php8
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;