]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Make development error message indicate which channel.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 29 Sep 2010 16:16:47 +0000 (16:16 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 29 Sep 2010 16:16:47 +0000 (16:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@289253 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index 2223172a6520e46801e21baf63d064a101cc635d..43ba5b2b1ec537a8326628741ba8200ea332df4a 100644 (file)
@@ -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