tls_client: fix error message logging

15 jobs for tls-errmsg-fix in 9 minutes and 21 seconds (queued for 9 seconds)
Status Job ID Name Coverage
  Build
passed #105102
docker linux amd64
build:clang:linux:amd64

00:00:29

passed #105101
docker linux amd64
build:linux:amd64

00:00:26

 
  Test
passed #105109
docker linux amd64
deckard:linux:amd64

00:08:31

passed #105108
docker
doc

00:01:07

passed #105107
docker linux amd64
installcheck:linux:amd64

00:01:21

passed #105110
docker linux amd64
installcheck:valgrind:linux:amd64

00:01:56

passed #105104
docker
lint:c

00:01:29

failed #105105
docker allowed to fail
lint:clang-scan-build

00:01:38

passed #105103
docker
lint:lua

00:00:13

passed #105113
docker linux amd64
respdiff:iter:tcp:linux:amd64

00:03:49

passed #105114
docker linux amd64
respdiff:iter:tls:linux:amd64

00:03:32

passed #105112
docker linux amd64
respdiff:iter:udp:linux:amd64

00:03:00

passed #105106
docker linux amd64
test:linux:amd64

00:01:25

passed #105111
docker linux amd64
test:linux:amd64:valgrind

00:01:13

 
  Coverage
passed #105115
docker linux amd64
coverage

00:00:19

69.4%
 
Name Stage Failure
failed
lint:clang-scan-build Test
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
CCLD daemon/kresd
scan-build: 28 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-02-01-094718-13-1' to examine bug reports.
Uploading artifacts...
scan-results: found 33 matching files
Uploading artifacts to coordinator... ok
id=105105 responseStatus=201 Created token=S417Hbum
ERROR: Job failed: exit code 1