aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-05-09 10:37:06 +1200
committerDavid Phillips <david@sighup.nz>2017-05-09 10:37:06 +1200
commitdc72f231b269530e71f04be7c344a59e6b9675dd (patch)
tree28c5ccd07e95b5fe4d7f19563f57c18e94e0503a
parenta286a1756381ec82b807825d9b180ac589d0dd55 (diff)
downloadidalius-dc72f231b269530e71f04be7c344a59e6b9675dd.tar.xz
Change titles error to short reason
-rwxr-xr-xidalius.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/idalius.pl b/idalius.pl
index a885ca5..001fb6c 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -72,7 +72,7 @@ sub url_get_title
my $response = $http->get($url);
if (!$response->{success}) {
- print "Something broke: $response->{content}\n";
+ print "Something broke: $response->{reason}\n";
return;
}