mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-24 19:41:51 +02:00
log successful connection to backend with logger.success()
This commit is contained in:
@@ -126,7 +126,7 @@ def check_funding_source(app: FastAPI) -> None:
|
|||||||
logger.info("Retrying connection to backend in 5 seconds...")
|
logger.info("Retrying connection to backend in 5 seconds...")
|
||||||
await asyncio.sleep(5)
|
await asyncio.sleep(5)
|
||||||
signal.signal(signal.SIGINT, original_sigint_handler)
|
signal.signal(signal.SIGINT, original_sigint_handler)
|
||||||
logger.info(
|
logger.success(
|
||||||
f"✔️ Backend {WALLET.__class__.__name__} connected and with a balance of {balance} msat."
|
f"✔️ Backend {WALLET.__class__.__name__} connected and with a balance of {balance} msat."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user