Managed more exception in crawling.

This commit is contained in:
Christian P. MOMON 2021-01-21 19:08:50 +01:00
parent 464284d479
commit 17a95249cb

View file

@ -122,7 +122,7 @@ public class Crawler
logger.error("ERROR: subcrawl failed for [{}][{}]: {}", property.getPath(), property.getValue(), exception.getMessage());
exception.printStackTrace();
}
catch (java.net.ConnectException | FileNotFoundException exception)
catch (IOException exception)
{
logger.error("ERROR: subcrawl failed for [{}][{}]: {}", property.getPath(), property.getValue(), exception.getMessage());
exception.printStackTrace();