Exit with code 1 on quiet startup failures. Still delete unix socket if one exists.
This commit is contained in:
parent
ab19d7b5dd
commit
e6c0f3990c
|
@ -881,7 +881,8 @@ class StartupMixin(metaclass=SanicMeta):
|
|||
except ServerKilled:
|
||||
exit_code = 1
|
||||
except SanicException as e:
|
||||
kwargs = {}
|
||||
exit_code = 1
|
||||
kwargs = primary_server_info.settings
|
||||
if e.quiet:
|
||||
error_logger.error(str(e))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user