File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ func (pluginsState *PluginsState) ApplyQueryPlugins(
296296 defer pluginsGlobals .RUnlock ()
297297 for _ , plugin := range * pluginsGlobals .queryPlugins {
298298 if err := plugin .Eval (pluginsState , & msg ); err != nil {
299+ dlog .Debugf ("Drops query: %v" , err )
299300 pluginsState .action = PluginsActionDrop
300301 return packet , err
301302 }
@@ -360,6 +361,7 @@ func (pluginsState *PluginsState) ApplyResponsePlugins(
360361 defer pluginsGlobals .RUnlock ()
361362 for _ , plugin := range * pluginsGlobals .responsePlugins {
362363 if err := plugin .Eval (pluginsState , & msg ); err != nil {
364+ dlog .Debugf ("Drops response: %v" , err )
363365 pluginsState .action = PluginsActionDrop
364366 return packet , err
365367 }
You can’t perform that action at this time.
0 commit comments