Skip to content

Commit

Permalink
Reduce failed JSON parse spam
Browse files Browse the repository at this point in the history
The /status endpoint can legitimately not output any status:
```
curl: (7) Failed to connect to localhost port 8080: Connection refused
```
  • Loading branch information
dagguh committed Jun 24, 2024
1 parent efbb6e9 commit c66c203
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ internal class StandaloneStoppedNode(
stdout = Level.DEBUG,
stderr = Level.DEBUG
)
JiraStatus.Parser.parseResponse(curl.output) == JiraStatus.RUNNING
curl.isSuccessful() && JiraStatus.Parser.parseResponse(curl.output) == JiraStatus.RUNNING
}
}

Expand Down

0 comments on commit c66c203

Please sign in to comment.