mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix exception handling in self-signed.py
This commit is contained in:
parent
0b8dc24125
commit
0694ab019a
1 changed files with 2 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ try:
|
|||
for first_server in skipped_servers:
|
||||
JOB.del_cache("cert.pem", service_id=first_server)
|
||||
JOB.del_cache("key.pem", service_id=first_server)
|
||||
except SystemExit as e:
|
||||
status = e.code
|
||||
except:
|
||||
status = 2
|
||||
LOGGER.error(f"Exception while running self-signed.py :\n{format_exc()}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue