Skip to content

Commit

Permalink
add log decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg committed Oct 17, 2024
1 parent b0bb5c1 commit 2b3df56
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
from models_library.utils.fastapi_encoders import jsonable_encoder
from pydantic import AnyHttpUrl, parse_obj_as
from servicelib.async_utils import run_sequentially_in_context
from servicelib.logging_utils import log_decorator
from servicelib.rabbitmq import RabbitMQRPCClient
from simcore_postgres_database.utils_projects_metadata import DBProjectNotFoundError
from starlette import status
Expand Down Expand Up @@ -150,6 +151,7 @@ async def _check_pipeline_startable(
_UNKNOWN_NODE: Final[str] = "unknown node"


@log_decorator(_logger)
async def _get_project_metadata(
project_id: ProjectID,
project_repo: ProjectsRepository,
Expand Down

0 comments on commit 2b3df56

Please sign in to comment.