- if (200 != LWP::Simple::mirror($video->{'DLURL'}, $dlfile)) {
- $self->error('Could not download %s to %s', $video->{'DLURL'}, $dlfile);
+ if (200 != ($res = LWP::Simple::mirror($video->{'DLURL'}, $dlfile))) {
+ $self->error('Could not download %s to %s (%s)', $video->{'DLURL'}, $dlfile, $res);