From b660cf48f0e34cffb13f0f6cad26f691d4e41aab Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 25 Feb 2019 21:19:53 +0100 Subject: [PATCH] improve logging --- src/cadet/cadet_api.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index ce2356216..b0016d2a8 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c @@ -507,7 +507,9 @@ cadet_mq_error_handler (void *cls, } else { - GNUNET_break (0); + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "MQ error in communication with CADET: %d\n", + error); if (NULL != ch->disconnects) ch->disconnects (ch->ctx, ch); -- 2.25.1