Skip to content

Commit c794b12

Browse files
committed
Add master blacklist output
1 parent b716dc9 commit c794b12

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.~lock.z.csv#

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/com/jacamars/dsp/rtb/common/Configuration.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,8 @@ public void testWinUrlWithCache2k() throws Exception {
14011401
* @param fname String. The file name of the database.
14021402
* @throws Exception on file or cache2k errors.
14031403
*/
1404-
private static void readDatabaseIntoCache(String fname) throws Exception {
1404+
private static void readDatabaseIntoCache(String fname) {
1405+
try {
14051406
String content = new String(Files.readAllBytes(Paths.get(fname)), StandardCharsets.UTF_8);
14061407
content = substitute(content);
14071408

@@ -1411,6 +1412,10 @@ private static void readDatabaseIntoCache(String fname) throws Exception {
14111412
List<Campaign> list = DbTools.mapper.readValue(content,
14121413
DbTools.mapper.getTypeFactory().constructCollectionType(List.class, Campaign.class));
14131414
db.update(list);
1415+
} catch (Exception error) {
1416+
logger.warn("Initial database {} not read, error: {}", fname, error.getMessage());
1417+
}
1418+
14141419
}
14151420

14161421
/**

0 commit comments

Comments
 (0)