mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user