mirror of
https://gitlab.sectorq.eu/jaydee/api_server.git
synced 2026-11-01 14:07:06 +01:00
build
This commit is contained in:
1 parent
8c6a95a734
commit
802278266e
1 file changed
+1
@@ -98,5 +98,6 @@ def run(data):
|
|||||||
try:
|
try:
|
||||||
return ban_ip(data)
|
return ban_ip(data)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
logging.error(f"Error occurred while processing {data.action} for IP {data.ips}: {e}")
|
||||||
return f"{data.action} requested {data.ips}"
|
return f"{data.action} requested {data.ips}"
|
||||||
|
|
||||||
Reference in new issue
Block a user