Skip to content

Commit 3765eb5

Browse files
committed
implement error counting tracer side
1 parent 774a51e commit 3765eb5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

dd-java-agent/appsec/src/main/java/com/datadog/appsec/powerwaf/PowerWAFModule.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private void applyConfig(Object config_, AppSecModuleConfigurer.Reconfiguration
218218
List<String> errors = new ArrayList<>();
219219
try {
220220
// ddwaf_init/update
221-
success = initializeNewWafCtx(reconf, config, curCtxAndAddresses, errors);
221+
success = initializeNewWafCtx(reconf, config, curCtxAndAddresses);
222222
} catch (Exception e) {
223223
throw new AppSecModuleActivationException("Could not initialize/update waf", e);
224224
} finally {
@@ -237,8 +237,7 @@ private void applyConfig(Object config_, AppSecModuleConfigurer.Reconfiguration
237237
private boolean initializeNewWafCtx(
238238
AppSecModuleConfigurer.Reconfiguration reconf,
239239
CurrentAppSecConfig config,
240-
CtxAndAddresses prevContextAndAddresses,
241-
List<String> errors)
240+
CtxAndAddresses prevContextAndAddresses)
242241
throws AppSecModuleActivationException, IOException {
243242
CtxAndAddresses newContextAndAddresses;
244243
RuleSetInfo initReport = null;

0 commit comments

Comments
 (0)