Merge pull request #1044 from lnbits/format-backend-connection

nicer logger formatting for successful backend connection
This commit is contained in:
Arc 2022-10-07 23:52:03 +01:00 committed by GitHub
commit 25ff5770e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,7 +126,7 @@ def check_funding_source(app: FastAPI) -> None:
logger.info("Retrying connection to backend in 5 seconds...")
await asyncio.sleep(5)
signal.signal(signal.SIGINT, original_sigint_handler)
logger.info(
logger.success(
f"✔️ Backend {WALLET.__class__.__name__} connected and with a balance of {balance} msat."
)