mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 15:10:41 +01:00
Merge pull request #3 from lnbits/main
change boltz logs from warn to debug (#1057)
This commit is contained in:
commit
42ca95bb87
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ async def check_for_pending_swaps():
|
||||||
swap_status = get_swap_status(swap)
|
swap_status = get_swap_status(swap)
|
||||||
# should only happen while development when regtest is reset
|
# should only happen while development when regtest is reset
|
||||||
if swap_status.exists is False:
|
if swap_status.exists is False:
|
||||||
logger.warning(f"Boltz - swap: {swap.boltz_id} does not exist.")
|
logger.debug(f"Boltz - swap: {swap.boltz_id} does not exist.")
|
||||||
await update_swap_status(swap.id, "failed")
|
await update_swap_status(swap.id, "failed")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ async def check_for_pending_swaps():
|
||||||
else:
|
else:
|
||||||
if swap_status.hit_timeout:
|
if swap_status.hit_timeout:
|
||||||
if not swap_status.has_lockup:
|
if not swap_status.has_lockup:
|
||||||
logger.warning(
|
logger.debug(
|
||||||
f"Boltz - swap: {swap.id} hit timeout, but no lockup tx..."
|
f"Boltz - swap: {swap.id} hit timeout, but no lockup tx..."
|
||||||
)
|
)
|
||||||
await update_swap_status(swap.id, "timeout")
|
await update_swap_status(swap.id, "timeout")
|
||||||
|
|
Loading…
Add table
Reference in a new issue