Allow non-conforming ErrorHandlers (#2259)

* Allow non-conforming ErrorHandlers

* Rename to legacy lookup

* Updated depnotice

* Bump version

* Fix formatting

* Remove unused import

* Fix error messages
This commit is contained in:
Adam Hopkins
2021-10-03 01:02:56 +03:00
committed by GitHub
parent 50a606adee
commit 5e12edbc38
5 changed files with 60 additions and 5 deletions

View File

@@ -1474,6 +1474,7 @@ class Sanic(BaseSanic, metaclass=TouchUpMeta):
async def _startup(self):
self.signalize()
self.finalize()
ErrorHandler.finalize(self.error_handler)
TouchUp.run(self)
async def _server_event(