mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
rename
This commit is contained in:
+2
-2
@@ -892,8 +892,8 @@ def restart_server(restart=True):
|
||||
demo.server.close()
|
||||
demo.fns = []
|
||||
# os._exit(0)
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as e:
|
||||
log.error(f'Server shutdown error: {e}')
|
||||
if restart:
|
||||
log.info('Server will restart')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user