diff --git a/CHANGELOG.md b/CHANGELOG.md
index edc67bb44ab812e2dcfa4366d04256dd5b343460..518abd73794c5977e832dbbcdb28cf255439a1b1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@
 - Add: versions to database
 - Add: row_format option for lkt, for small screens (can be oneline, pretty or auto)
 - Fix: endiannes functions (again)
+- Fix: fix the \_\_insert command
 - Fix: linking on some platforms where the sqlite3_hard_heap_limit64 function is not present
 - Fix: Malloc the correct struct and store it into the right pointer type...
 - Change: now have macros to wrap malloc calls
diff --git a/src/base/json.c b/src/base/json.c
index fd3392c5a76f498d7adc99622970b9a9f9218d61..783dfe3fa4d0180bceedfa69d90f9d62a869179b 100644
--- a/src/base/json.c
+++ b/src/base/json.c
@@ -164,7 +164,7 @@ __decode_json(char *string, size_t len)
         /* UTF-8 decode, 4 hex digits */
         case 'u':
             if (len < 4) {
-                LOG_ERROR("JSON", "Invalid unicode string, abort decoding");
+                LOG_ERROR("JSON", "Invalid unicode string, abort decoding. String was: %s", string);
                 return;
             }
             size = 6; /* \u + 4 hex digits */
@@ -174,7 +174,7 @@ __decode_json(char *string, size_t len)
 
         /* Oups */
         default:
-            LOG_ERROR("JSON", "Invalid json string, abort the decoding");
+            LOG_ERROR("JSON", "Invalid json string, abort the decoding. String was: %s", string);
             return;
         }