SOLR-2826: use logging rather than e.printStackTrace()

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301875 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Koji Sekiguchi 2012-03-17 07:06:24 +00:00
parent 681ae58f01
commit e4ff34cc65
1 changed files with 2 additions and 2 deletions

View File

@ -130,9 +130,9 @@ public class URLClassifyProcessor extends UpdateRequestProcessor {
}
log.debug(document.toString());
} catch (MalformedURLException e) {
e.printStackTrace();
log.warn("cannot get the normalized url for \"" + url + "\" due to " + e.getMessage());
} catch (URISyntaxException e) {
e.printStackTrace();
log.warn("cannot get the normalized url for \"" + url + "\" due to " + e.getMessage());
}
}
}