Fix issues when logging messages for assertions. (#16413)
Fix issues when logging messages for assertions. (#16413)

Co-authored-by: Lars Maier <3318dc5ce3e4fb7c28a0b841b6801c884e1d0896@arangodb.com>
arangodb/arangodb,arangodb/arangodb,wiltonlazary/arangodb,arangodb/arangodb,wiltonlazary/arangodb,arangodb/arangodb,wiltonlazary/arangodb,wiltonlazary/arangodb,wiltonlazary/arangodb,arangodb/arangodb,arangodb/arangodb,wiltonlazary/arangodb,arangodb/arangodb,arangodb/arangodb,wiltonlazary/arangodb,wiltonlazary/arangodb