Make sure to import the exception decorators so that we raise 4xx errors to Docker instead of 500s

This commit is contained in:
Joseph Schorr 2015-04-01 15:34:07 -04:00
parent 1deb5121b8
commit 2f5f4d5d66

View file

@ -3,6 +3,9 @@ import logging.config
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.tags import tags
from endpoints.registry import registry