Skip to content

Commit

Permalink
Merge pull request #936 from MarathonLabs/feature/apple-append-stderr…
Browse files Browse the repository at this point in the history
…-log

feat(apple): append stderr to log
  • Loading branch information
Malinskiy committed May 20, 2024
2 parents 8ca459c + c3f4a6f commit fbb4958
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ class AppleSimulatorDevice(
for (line in session.stderr) {
if (line.trim().isNotBlank()) {
logger.error { "simulator $udid: stderr=$line" }
lineListeners.forEach { it.onLine(line) }
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ class MacosDevice(
async {
for (line in session.stderr) {
if (line.trim().isNotBlank()) {
logger.error { "simulator $udid: stderr=$line" }
logger.error { "macOS $udid: stderr=$line" }
lineListeners.forEach { it.onLine(line) }
}
}
}
Expand Down

0 comments on commit fbb4958

Please sign in to comment.