eprint banner

our banner was being printed to stdout but should be printed to stderr
as its essentially a log message
This commit is contained in:
Evan
2026-02-17 11:37:15 +00:00
committed by Evan Quiney
parent 8392e78afe
commit c01b6fff21
+4 -2
View File
@@ -1,5 +1,7 @@
import sys
def print_startup_banner(port: int) -> None:
"""Print a prominent startup banner with API endpoint information."""
dashboard_url = f"http://localhost:{port}"
banner = f"""
╔═══════════════════════════════════════════════════════════════════════╗
@@ -27,4 +29,4 @@ def print_startup_banner(port: int) -> None:
"""
print(banner)
print(banner, file=sys.stderr)