improve logging
authorChristian Grothoff <christian@grothoff.org>
Mon, 25 Feb 2019 20:19:53 +0000 (21:19 +0100)
committerChristian Grothoff <christian@grothoff.org>
Mon, 25 Feb 2019 20:20:09 +0000 (21:20 +0100)
src/cadet/cadet_api.c

index ce235621679ece6371ac844702d8f88807453c1b..b0016d2a85bf8b383351108e4ece5226b0ee37af 100644 (file)
@@ -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);