Skip to content

Commit

Permalink
Change warn to WARN for proper logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dklawren committed Nov 19, 2024
1 parent 8c9ecaa commit a3fa103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bugzilla.pm
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ sub check_rate_limit {
my $rules = decode_json($params->{rate_limit_rules});
my $limit = $rules->{$name};
unless ($limit) {
warn "no rules for $name!";
WARN("no rules for $name!");
return 0;
}
if (Bugzilla->memcached->should_rate_limit("$name:$identifier", @$limit)) {
Expand Down

0 comments on commit a3fa103

Please sign in to comment.