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 <a.clayton@nginx.com>
This commit is contained in:
committed by
Andrew Clayton
parent
dc9f592d6e
commit
d806a90609
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user