(chore) debug sys path docker error

This commit is contained in:
ishaan-jaff 2024-02-15 17:23:07 -08:00
parent 92612c0d4e
commit 07afefea34

View file

@ -80,8 +80,11 @@ from .exceptions import (
# Import Enterprise features
project_path = abspath(join(dirname(__file__), "..", ".."))
# Add the "enterprise" directory to sys.path
verbose_logger.debug(f"current project_path: {project_path}")
enterprise_path = abspath(join(project_path, "enterprise"))
sys.path.append(enterprise_path)
verbose_logger.debug(f"sys.path: {sys.path}")
from enterprise.callbacks.generic_api_callback import GenericAPILogger