TeamSmil3y / PigeonPost

Python web framework • apparently easy to use
https://docs.pigeon.teamsmiley.org
MIT License
1 stars 0 forks source link

✨🏗️⚰️ ErrorHandler fully implemented #42

Closed raspitim closed 10 months ago

raspitim commented 10 months ago
netlify[bot] commented 10 months ago

Deploy Preview for pigeon-docs canceled.

Name Link
Latest commit 89e81cf88ea6cc2974b06cccd6a6f373cf0543c4
Latest deploy log https://app.netlify.com/sites/pigeon-docs/deploys/6547a2d371ef730008abdd60
netlify[bot] commented 10 months ago

Deploy Preview for docs-pigeon canceled.

Name Link
Latest commit 89e81cf88ea6cc2974b06cccd6a6f373cf0543c4
Latest deploy log https://app.netlify.com/sites/docs-pigeon/deploys/6547a2d367b7cf0008abb12c
raspitim commented 10 months ago

Pls check http.common.error if the ErrorHandler call is correctly performed by importing it from the registry:

from pigeon.middleware.registry import error_handler
...

    return error_handler(code, request)