WAF-IPDB
WAF-IPDB copied to clipboard
If an exception occurs in `get_blocked_ip`, nothing will be returned
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.