mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 20:17:43 +03:00
Updating local policy, metrics, and local update trigger
This commit is contained in:
8
nodes/http_transaction_handler/package/exception.py
Executable file
8
nodes/http_transaction_handler/package/exception.py
Executable file
@@ -0,0 +1,8 @@
|
||||
class SnortHookException(Exception):
|
||||
|
||||
def __init__(self, message="", practice_id=""):
|
||||
self.message = message
|
||||
self.practice_id = practice_id
|
||||
|
||||
def __str__(self):
|
||||
return "{}".format(self.message)
|
Reference in New Issue
Block a user