mirror of https://github.com/MISP/misp-dashboard
fix: Added a return statement in case of exception, preventing the execution
parent
9cfaa587fb
commit
1f4b10ea7f
|
@ -107,6 +107,7 @@ def handler_conversation(zmq_name, jsonevent):
|
|||
jsonpost = jsonevent['Post']
|
||||
except KeyError as e:
|
||||
logger.error('Error in handler_conversation: {}'.format(e))
|
||||
return
|
||||
org = jsonpost['org_name']
|
||||
categ = None
|
||||
action = 'add'
|
||||
|
|
Loading…
Reference in New Issue