mirror of https://github.com/MISP/misp-modules
chg: [server] Fail if server could not be started
parent
1ceda398cd
commit
9446fd2ac6
|
@ -303,6 +303,9 @@ def main():
|
||||||
return 1
|
return 1
|
||||||
print(e)
|
print(e)
|
||||||
print("misp-modules might still be running.")
|
print("misp-modules might still be running.")
|
||||||
|
else:
|
||||||
|
log.exception(f"Could not listen on {args.listen}:{args.port}")
|
||||||
|
return 1
|
||||||
|
|
||||||
log.info(f'MISP modules server started on {args.listen} port {args.port}')
|
log.info(f'MISP modules server started on {args.listen} port {args.port}')
|
||||||
if args.test:
|
if args.test:
|
||||||
|
|
Loading…
Reference in New Issue