mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-10-06 12:21:27 +00:00
HER-1993: In JobResource, write error message instead of throwing RuntimeException when it failed to read
job log or crawl log.
This commit is contained in:
1 parent
f05287c8ca
commit
64f24d4c66
1 file changed
+2
-2
@@ -364,7 +364,7 @@ public class JobResource extends BaseResource {
|
||||
pw.println("</div>");
|
||||
}
|
||||
} catch (IOException ioe) {
|
||||
throw new RuntimeException(ioe);
|
||||
pw.println("<div class=\"error\">error reading job log</div>");
|
||||
}
|
||||
}
|
||||
pw.println("</div>");
|
||||
@@ -434,7 +434,7 @@ public class JobResource extends BaseResource {
|
||||
pw.println();
|
||||
}
|
||||
} catch (IOException ioe) {
|
||||
throw new RuntimeException(ioe);
|
||||
pw.println("--error reading crawl log--");
|
||||
}
|
||||
pw.println("</pre>");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user