mirror of https://github.com/apache/lucene.git
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:
parent
681ae58f01
commit
e4ff34cc65
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue