WAF-IPDB icon indicating copy to clipboard operation
WAF-IPDB copied to clipboard

If an exception occurs in `get_blocked_ip`, nothing will be returned

Open TheTechRobo opened this issue 2 years ago • 0 comments

There is this code in get_blocked_ip:

  except Exception as e:
      # If there is an exception, call the function recursively
    get_blocked_ip()

I think this should be return get_blocked_ip() rather than `get_blocked_ip() because otherwise it will retry but return nothing.

TheTechRobo avatar Jan 11 '24 01:01 TheTechRobo