*) 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
pull/1/head
hydrox 19 years ago
parent 7a54010a9c
commit bb3d9a5582

@ -912,7 +912,7 @@ public final class plasmaCrawlLURL extends indexURL {
lastHash = entry.hash(); lastHash = entry.hash();
} }
} catch (RuntimeException e) { } 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); serverLog.logWarning("URLDBCLEANER", "urlHash not found in LURL", e);
} }
else { else {

Loading…
Cancel
Save