Skip to content

Commit

Permalink
agent: Log version number
Browse files Browse the repository at this point in the history
  • Loading branch information
palango committed Jul 6, 2022
1 parent 1094455 commit 50e0197
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions beamer/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import signal
import sys
from importlib.metadata import version
from pathlib import Path
from typing import Optional

Expand Down Expand Up @@ -103,6 +104,8 @@ def main(
) -> None:
beamer.util.setup_logging(log_level=log_level.upper(), log_json=False)

log.info("Running beamer bridge agent", version=version("beamer-bridge"))

if not get_relayer_executable().exists():
log.error("No relayer found")
sys.exit(1)
Expand Down

0 comments on commit 50e0197

Please sign in to comment.