From d806a90609e99cb4c8db71d620d5db3d26e83693 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Mon, 3 Oct 2022 13:01:33 +0100 Subject: Ruby: used nxt_ruby_exception_log() in nxt_ruby_rack_init(). For consistency use nxt_ruby_exception_log() rather than nxt_alert() in nxt_ruby_rack_init(). Signed-off-by: Andrew Clayton --- src/ruby/nxt_ruby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ruby') diff --git a/src/ruby/nxt_ruby.c b/src/ruby/nxt_ruby.c index cc287e0e..bcb48f6b 100644 --- a/src/ruby/nxt_ruby.c +++ b/src/ruby/nxt_ruby.c @@ -492,7 +492,7 @@ nxt_ruby_rack_init(nxt_ruby_rack_init_t *rack_init) } if (nxt_slow_path(RARRAY_LEN(rackup) < 1)) { - nxt_alert(rack_init->task, "Ruby: Invalid rack config file"); + nxt_ruby_exception_log(NULL, NXT_LOG_ALERT, "Invalid rack config file"); return Qnil; } -- cgit