Skip to content

Commit

Permalink
minor log adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Jul 1, 2022
1 parent e11073b commit 562ce80
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ async def runs_docker_compose_up(
shared_store.container_names = assemble_container_names(
shared_store.compose_spec
)

logger.debug("Validated compose-spec:\n%s", f"{shared_store.compose_spec}")

except InvalidComposeSpec as e:
logger.warning("Cannot validate compose", exc_info=True, stack_info=True)
raise HTTPException(status.HTTP_422_UNPROCESSABLE_ENTITY, detail=f"{e}") from e

# run docker-compose in a background queue and return early
Expand Down

0 comments on commit 562ce80

Please sign in to comment.