Skip to content

Commit 0b9ac62

Browse files
authored
Merge pull request #18 from rjkip/chrome-output-always-available
Make sure Chrome output when the listening line never appears
2 parents 1b76b58 + c4058cf commit 0b9ac62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cdt-java-client/src/main/java/com/github/kklisura/cdt/launch/ChromeLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ private int waitForDevToolsServer(final Process process) throws ChromeProcessTim
345345
chromeOutputBuilder.append(System.lineSeparator());
346346
}
347347
chromeOutputBuilder.append(line);
348+
chromeOutput.set(chromeOutputBuilder.toString());
348349
}
349350
} catch (Exception e) {
350351
LOGGER.error("Failed while waiting for dev tools server.", e);
351352
} finally {
352-
chromeOutput.set(chromeOutputBuilder.toString());
353353
closeQuietly(reader);
354354
}
355355
});

0 commit comments

Comments
 (0)