[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-exchange] branch stable updated: wire plugin (test):
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-exchange] branch stable updated: wire plugin (test): gracefully handle errors |
Date: |
Wed, 07 Feb 2018 02:44:51 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch stable
in repository exchange.
The following commit(s) were added to refs/heads/stable by this push:
new a9310ad wire plugin (test): gracefully handle errors
a9310ad is described below
commit a9310ad6e43d6b7fb381eed3f7e07ced82282681
Author: Florian Dold <address@hidden>
AuthorDate: Wed Feb 7 02:43:38 2018 +0100
wire plugin (test): gracefully handle errors
---
src/wire/plugin_wire_test.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/wire/plugin_wire_test.c b/src/wire/plugin_wire_test.c
index c76bf01..c38a75d 100644
--- a/src/wire/plugin_wire_test.c
+++ b/src/wire/plugin_wire_test.c
@@ -955,8 +955,14 @@ test_get_history (void *cls,
if ( (NULL != start_off) &&
(sizeof (uint64_t) != start_off_len) )
{
+ GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
+ "Wire plugin 'test' got start offset of wrong size (%llu
instead of %llu)\n"
+ (unsigned long long) start_off_len, (unsigned long long)
sizeof (uint64_t));
GNUNET_break (0);
- return NULL;
+ /* Probably something is wrong with the DB, some other component
+ * wrote a wrong value to it. Instead of completely stopping to work,
+ * we just scan from the beginning. */
+ start_off = NULL;
}
if (NULL == start_off)
{
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-exchange] branch stable updated: wire plugin (test): gracefully handle errors,
gnunet <=