Managed more exception in crawling.
This commit is contained in:
parent
464284d479
commit
17a95249cb
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ public class Crawler
|
||||||
logger.error("ERROR: subcrawl failed for [{}][{}]: {}", property.getPath(), property.getValue(), exception.getMessage());
|
logger.error("ERROR: subcrawl failed for [{}][{}]: {}", property.getPath(), property.getValue(), exception.getMessage());
|
||||||
exception.printStackTrace();
|
exception.printStackTrace();
|
||||||
}
|
}
|
||||||
catch (java.net.ConnectException | FileNotFoundException exception)
|
catch (IOException exception)
|
||||||
{
|
{
|
||||||
logger.error("ERROR: subcrawl failed for [{}][{}]: {}", property.getPath(), property.getValue(), exception.getMessage());
|
logger.error("ERROR: subcrawl failed for [{}][{}]: {}", property.getPath(), property.getValue(), exception.getMessage());
|
||||||
exception.printStackTrace();
|
exception.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue