|
|
@ -59,7 +59,7 @@ sub load_config { |
|
|
|
my $i = 0; |
|
|
|
my $i = 0; |
|
|
|
foreach my $feed (@{ $config->{feeds} }) { |
|
|
|
foreach my $feed (@{ $config->{feeds} }) { |
|
|
|
$i++; |
|
|
|
$i++; |
|
|
|
_log(info => "Processing feed #$i: $feed->{url}"); |
|
|
|
_log(debug => "Processing feed #$i: $feed->{url}"); |
|
|
|
_log(fatal => "Feed is not a hashref") |
|
|
|
_log(fatal => "Feed is not a hashref") |
|
|
|
unless (ref $feed eq 'HASH'); |
|
|
|
unless (ref $feed eq 'HASH'); |
|
|
|
_log(fatal => "Missing 'url' in feed") |
|
|
|
_log(fatal => "Missing 'url' in feed") |
|
|
|