[Asterisk-code-review] json.c: Add backtrace log to find 'Invalid UTF-8 string' errors (asterisk[14])
Richard Mudgett
asteriskteam at digium.com
Fri Jul 7 18:26:14 CDT 2017
Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/5978
Change subject: json.c: Add backtrace log to find 'Invalid UTF-8 string' errors
......................................................................
json.c: Add backtrace log to find 'Invalid UTF-8 string' errors
Change-Id: I9020ff9f2b3749904317c0c173f47a1bbed6f929
---
M main/json.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/78/5978/1
diff --git a/main/json.c b/main/json.c
index c03c4e5..f586a92 100644
--- a/main/json.c
+++ b/main/json.c
@@ -825,6 +825,7 @@
ast_log(LOG_ERROR,
"Error building JSON from '%s': %s.\n",
format, error.text);
+ ast_log_backtrace();
}
}
return r;
--
To view, visit https://gerrit.asterisk.org/5978
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9020ff9f2b3749904317c0c173f47a1bbed6f929
Gerrit-Change-Number: 5978
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170707/36b84bb7/attachment-0001.html>
More information about the asterisk-code-review
mailing list