Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Aug 17, 2024
1 parent f830c25 commit 84e5f4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/webhook-ingest/app/nats_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def __init__(self, nats_url: str, nats_auth_token: str):
async def connect(self):
protocol, host = self.nats_url.split("://")
server_url = f"{protocol}://{self.nats_auth_token}@{host}"
logger.info(f"Connecting to NATS at {server_url}")
await self.nc.connect(server_url)
self.js = self.nc.jetstream()
logger.info(f"Connected to NATS at {self.nats_url}")
Expand Down

0 comments on commit 84e5f4f

Please sign in to comment.