diff options
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 3121bad3..3f86c7ee 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -913,7 +913,7 @@ ngx_http_js_init_vm(ngx_http_request_t *r) cln->handler = ngx_http_js_cleanup_ctx; cln->data = ctx; - if (njs_vm_run(ctx->vm) == NJS_ERROR) { + if (njs_vm_start(ctx->vm) == NJS_ERROR) { njs_vm_retval_to_ext_string(ctx->vm, &exception); ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, |