Skip to content

Commit

Permalink
Fix logging message saying record action was a fail
Browse files Browse the repository at this point in the history
  • Loading branch information
estringana committed Feb 20, 2025
1 parent 669878b commit 9287f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appsec/src/extension/request_lifecycle.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static zend_array *nullable _do_request_begin(
return dd_request_abort_redirect_spec();
}
dd_request_abort_redirect();
} else if (res) {
} else if (res != dd_success && res != dd_should_record) {
mlog_g(
dd_log_info, "request init failed: %s", dd_result_to_string(res));
}
Expand Down

0 comments on commit 9287f24

Please sign in to comment.