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']
|
jsonpost = jsonevent['Post']
|
||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
logger.error('Error in handler_conversation: {}'.format(e))
|
logger.error('Error in handler_conversation: {}'.format(e))
|
||||||
|
return
|
||||||
org = jsonpost['org_name']
|
org = jsonpost['org_name']
|
||||||
categ = None
|
categ = None
|
||||||
action = 'add'
|
action = 'add'
|
||||||
|
|
Loading…
Reference in New Issue