mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-07-21 06:51:38 +00:00
* CrawlURI.java
dump more info if code that really shouldn't run actually runs
This commit is contained in:
@@ -1811,7 +1811,7 @@ implements MultiReporter, Serializable, OverlayContext {
|
||||
}
|
||||
public String getCanonicalString() {
|
||||
if(StringUtils.isEmpty(canonicalString)){
|
||||
System.err.println("not canonicalized");
|
||||
System.err.println("not canonicalized "+this);
|
||||
return getURI();
|
||||
}
|
||||
return canonicalString;
|
||||
@@ -1823,7 +1823,7 @@ implements MultiReporter, Serializable, OverlayContext {
|
||||
}
|
||||
public long getPolitenessDelay() {
|
||||
if(politenessDelay<0) {
|
||||
System.err.println("not politeness-calc");
|
||||
System.err.println("not politeness-calc "+this);
|
||||
return 5000;
|
||||
}
|
||||
return this.politenessDelay;
|
||||
|
||||
Reference in New Issue
Block a user