Module: kamailio
Branch: master
Commit: b8cae4fbcd026ffb81e8242500212582d9672ad5
URL:
https://github.com/kamailio/kamailio/commit/b8cae4fbcd026ffb81e824250021258…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-06-30T08:49:19+02:00
jansson: print unknown type in log message
---
Modified: src/modules/jansson/jansson_funcs.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b8cae4fbcd026ffb81e824250021258…
Patch:
https://github.com/kamailio/kamailio/commit/b8cae4fbcd026ffb81e824250021258…
---
diff --git a/src/modules/jansson/jansson_funcs.c b/src/modules/jansson/jansson_funcs.c
index bbcc32b529c..926ed34c266 100644
--- a/src/modules/jansson/jansson_funcs.c
+++ b/src/modules/jansson/jansson_funcs.c
@@ -230,7 +230,7 @@ int janssonmod_set(unsigned int append, struct sip_msg *msg, char
*type_in,
value = json_null();
} else {
- ERR("unrecognized input type\n");
+ ERR("unrecognized input type: %.*s\n", type_s.len, type_s.s);
goto fail;
}