Skip to content

Commit 304f539

Browse files
author
Vladimir Kotal
committed
pass the exception as 3rd argument
1 parent fdeb367 commit 304f539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ private void markProjectIndexed(Project project) {
378378
.request()
379379
.put(Entity.text(""));
380380
} catch (RuntimeException e) {
381-
LOGGER.log(Level.WARNING, "Couldn''t notify the webapp that project {0} was indexed: {1}",
382-
new Object[] {project, e});
381+
LOGGER.log(Level.WARNING, String.format("Couldn''t notify the webapp that project {0} was indexed",
382+
project), e);
383383
return;
384384
}
385385

0 commit comments

Comments
 (0)