Skip to content

Commit dd0a0b8

Browse files
committed
fix.
1 parent b76dff5 commit dd0a0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: nginx/ngx_qjs_fetch.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ngx_qjs_fetch_error(ngx_js_http_t *http, const char *err)
120120

121121
fetch = (ngx_qjs_fetch_t *) http;
122122

123-
JS_ThrowInternalError(fetch->cx, err);
123+
JS_ThrowInternalError(fetch->cx, "%s", err);
124124

125125
fetch->response_value = JS_GetException(fetch->cx);
126126

0 commit comments

Comments
 (0)