]> git.kaiwu.me - nginx.git/commitdiff
do not log error if $r->variable was not found
authorIgor Sysoev <igor@sysoev.ru>
Thu, 12 Nov 2009 15:50:34 +0000 (15:50 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 12 Nov 2009 15:50:34 +0000 (15:50 +0000)
src/http/modules/perl/nginx.xs

index 8a20c43731dff2f49683bd8b60eb3a7899e84377..0c2c9b61742bc7355414377d4d412f970b69b796 100644 (file)
@@ -902,9 +902,6 @@ variable(r, name, value = NULL)
             XSRETURN_UNDEF;
         }
 
-        ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
-                      "variable \"%V\" not found", &var);
-
         XSRETURN_UNDEF;
     }