aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-06-26 18:43:15 +0200
committerJakob Unterwurzacher2021-06-26 18:49:54 +0200
commit1f29542b39654bda417ed436b8640b2f2e4f0d6e (patch)
treefad7236053f8e35e88283a826d707e2a47c8b932
parent45648e567ae5e6d40bb42ae954406c8762fc577f (diff)
tests: better error message on ctlsock query failure
-rw-r--r--tests/defaults/ctlsock_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/defaults/ctlsock_test.go b/tests/defaults/ctlsock_test.go
index 64b72a2..ac64f42 100644
--- a/tests/defaults/ctlsock_test.go
+++ b/tests/defaults/ctlsock_test.go
@@ -66,7 +66,7 @@ func TestCtlSockDecrypt(t *testing.T) {
}
response := test_helpers.QueryCtlSock(t, sock, req)
if response.Result == "" || response.ErrNo != 0 {
- t.Fatalf("got an error reply: %+v", response)
+ t.Fatalf("got an error for query %+v: %+v", req, response)
}
// Check if the encrypted path actually exists
cPath := response.Result