[asterisk-commits] json.c: Add backtrace log to find 'Invalid UTF-8 string' errors (asterisk[14])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 10 11:40:15 CDT 2017


Jenkins2 has submitted this change and it was merged. ( 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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



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: merged
Gerrit-Change-Id: I9020ff9f2b3749904317c0c173f47a1bbed6f929
Gerrit-Change-Number: 5978
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170710/a1047a89/attachment-0001.html>


More information about the asterisk-commits mailing list