File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
src/org/opensolaris/opengrok/index Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -357,9 +357,8 @@ private void markProjectIndexed(Project project) throws IOException {
357
357
* Update the content of this index database
358
358
*
359
359
* @throws IOException if an error occurs
360
- * @throws HistoryException if an error occurs when accessing the history
361
360
*/
362
- public void update () throws IOException , HistoryException {
361
+ public void update () throws IOException {
363
362
synchronized (lock ) {
364
363
if (running ) {
365
364
throw new IOException ("Indexer already running!" );
@@ -413,7 +412,16 @@ public void update() throws IOException, HistoryException {
413
412
}
414
413
415
414
if (env .isHistoryEnabled ()) {
416
- HistoryGuru .getInstance ().ensureHistoryCacheExists (sourceRoot );
415
+ try {
416
+ HistoryGuru .getInstance ().ensureHistoryCacheExists (
417
+ sourceRoot );
418
+ } catch (HistoryException ex ) {
419
+ String exmsg = String .format (
420
+ "Failed to ensureHistoryCacheExists() for %s" ,
421
+ sourceRoot );
422
+ LOGGER .log (Level .SEVERE , exmsg , ex );
423
+ continue ;
424
+ }
417
425
}
418
426
419
427
String startuid = Util .path2uid (dir , "" );
You can’t perform that action at this time.
0 commit comments