mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix exception handling in custom-cert.py
This commit is contained in:
parent
9bac9268f9
commit
671a0829fa
1 changed files with 2 additions and 0 deletions
|
|
@ -134,6 +134,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 custom-cert.py :\n{format_exc()}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue