mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
*) e.getMessage().indexOf() can only be used if there is actually an ExceptionMessage.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2407 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
7a54010a9c
commit
bb3d9a5582
|
@ -912,7 +912,7 @@ public final class plasmaCrawlLURL extends indexURL {
|
|||
lastHash = entry.hash();
|
||||
}
|
||||
} catch (RuntimeException e) {
|
||||
if (e.getMessage().indexOf("not found in LURL") != -1) {
|
||||
if (e.getMessage().length() != 0 && e.getMessage().indexOf("not found in LURL") != -1) {
|
||||
serverLog.logWarning("URLDBCLEANER", "urlHash not found in LURL", e);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user