]> git.kaiwu.me - njs.git/commit
Fixed error logging in js_include.
authorDmitry Volyntsev <xeioex@nginx.com>
Mon, 28 May 2018 14:05:16 +0000 (17:05 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Mon, 28 May 2018 14:05:16 +0000 (17:05 +0300)
commit19f53c211f742274c9684aee977815c2c3f17f18
tree3f23a5fd19380376dcf8417da9abb6b16953d57c
parentb52b11cc8566137b2e06455e93467028870f8590
Fixed error logging in js_include.

Previously, ngx_log_error() was used instead of ngx_conf_log_error()
in js_include directive handler.   Replacing it with ngx_conf_log_error()
to report the additional information about the location of the directive
in the configuration file.
nginx/ngx_http_js_module.c
nginx/ngx_stream_js_module.c