fix(chalice): fixed EE imports for errors
This commit is contained in:
parent
93a9e03026
commit
b6d0e71544
1 changed files with 2 additions and 2 deletions
|
|
@ -4,11 +4,11 @@ from decouple import config
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
from . import errors as errors_legacy
|
||||
from . import errors_pg as errors_legacy
|
||||
|
||||
if config("EXP_ERRORS_SEARCH", cast=bool, default=False):
|
||||
logger.info(">>> Using experimental error search")
|
||||
from . import errors_ch as errors
|
||||
from . import errors_details_exp as errors_details
|
||||
else:
|
||||
from . import errors
|
||||
from . import errors_pg as errors
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue