Add link to flexpool in balance notifications
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
79397e2eb6
commit
4348bba40f
2 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
@ -68,7 +68,7 @@ def watch_miner(address, config, disable_notifications, last_balance=None, last_
|
|||
miner = Miner(address=address, exchange_rate=exchange_rate, currency=currency)
|
||||
except Exception as err:
|
||||
logger.error('failed to find miner')
|
||||
logger.debug(err)
|
||||
logger.exception(err)
|
||||
return
|
||||
|
||||
logger.debug(miner)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
*💰 New balance*
|
||||
|
||||
*Address*: {{address}}
|
||||
*Address*: [{{address}}](https://flexpool.io/{{address}})
|
||||
*Unpaid balance*: {{balance}} {% if balance_fiat != 'None' %}\({{balance_fiat}}\){% endif %}
|
||||
*Unpaid percentage*: {{balance_percentage}}
|
||||
|
|
Reference in a new issue