Hi everyone!
Running Sanic in a new version, I now get the following error:
You are using a deprecated error handler. The lookup method should accept two positional parameters: (exception, route_name: Optional[str]). Until you upgrade your ErrorHandler.lookup, Blueprint specific exceptions will not work properly. Beginning in v22.3, the legacy style lookup method will not work at all.
Unfortunately, I have no idea where the error is. The @app.exception
wrapper I have already contains two parameters (request, exception) so I’m not sure where this would be ?
Can someone help me pinpoint where the issue is?
Thank you in advance.