fixup! In case of error when starting sanic

This commit is contained in:
Nicolas Delaby 2017-04-28 20:06:44 +02:00
parent c3abdab9c4
commit d1fefce61c

View File

@ -570,7 +570,7 @@ class Sanic:
serve(**server_settings)
else:
serve_multiple(server_settings, workers)
except Exception:
except:
log.exception(
'Experienced exception while trying to serve')
raise