Warn if download error (#2644)

This commit is contained in:
Christophe Maudoux 2021-10-23 21:24:55 +02:00
parent c598b07a83
commit 00fd7b1080
1 changed files with 5 additions and 0 deletions

View File

@ -67,6 +67,11 @@ sub _loadVhostConfig {
"Compiling rules retrieved from $rUrl for $vhost");
}
}
else {
$class->logger->error( "Unable to retrieve rules file from $rUrl -> "
. $resp->status_line );
$class->logger->info("Default rule and header are employed");
}
}
else {
$class->logger->error(