From 8ce2f83b20fc8af0a27271cb9780b9e32821affa Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Wed, 29 Sep 2010 16:16:47 +0000 Subject: [PATCH] Make development error message indicate which channel. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289253 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index 2223172a65..43ba5b2b1e 100644 --- a/main/channel.c +++ b/main/channel.c @@ -3624,7 +3624,9 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio) * this happens so that it can be addressed. */ if (chan->fdno == -1) { - ast_log(LOG_ERROR, "ast_read() called with no recorded file descriptor.\n"); + ast_log(LOG_ERROR, + "ast_read() on chan '%s' called with no recorded file descriptor.\n", + chan->name); } #endif -- 2.47.3