Skip to content

Commit 9da7848

Browse files
committed
add warning msg for invalid config
1 parent 74462e6 commit 9da7848

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

agent/php_nrini.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,11 @@ static PHP_INI_MH(nr_composer_per_process_detection_mh) {
551551
val = nr_bool_from_str(NEW_VALUE);
552552

553553
if (-1 == val) {
554+
nrl_warning(NRL_INIT,
555+
"The value %d is not valid for the "
556+
"newrelic.vulnerability_management.composer_api.per_process_"
557+
"detection setting, using default value instead.",
558+
val);
554559
return FAILURE;
555560
}
556561

0 commit comments

Comments
 (0)