Make sure to import the exception decorators so that we raise 4xx errors to Docker instead of 500s
This commit is contained in:
parent
1deb5121b8
commit
2f5f4d5d66
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ import logging.config
|
||||||
|
|
||||||
from app import app as application
|
from app import app as application
|
||||||
|
|
||||||
|
# Note: We need to import this module to make sure the decorators are registered.
|
||||||
|
import endpoints.decorated
|
||||||
|
|
||||||
from endpoints.index import index
|
from endpoints.index import index
|
||||||
from endpoints.tags import tags
|
from endpoints.tags import tags
|
||||||
from endpoints.registry import registry
|
from endpoints.registry import registry
|
||||||
|
|
Reference in a new issue