FoundationDB / fdb-joshua

FoundationDB Correctness service
Apache License 2.0
28 stars 25 forks source link

Add a newline to wrapped messages #62

Closed sfc-gh-abeamon closed 2 years ago

sfc-gh-abeamon commented 2 years ago

There are currently certain error situations where the output trace XML from joshua does not include a newline before the closing </Trace> element. Certain tools used to parse this XML don't currently react well when this happens.

To keep the output more consistent, this change adds a newline to each string created by wrap_message or wrap_error.