1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2019-01-23 15:12:18 +01:00
parent 09c17829a3
commit b7b2dd34cc

View file

@ -76,6 +76,7 @@ def new_dota_rank(item: db.Dota, change):
f" {item.get_rank_name()} {item.get_rank_number()} su Dota 2!")
except Exception:
logger.warning(f"Couldn't notify on Telegram: {item}")
sentry.captureException()
def new_lol_rank(item, change: typing.Tuple[Dirty, Dirty, Dirty]):
@ -105,6 +106,7 @@ def new_lol_rank(item, change: typing.Tuple[Dirty, Dirty, Dirty]):
parse_mode="Markdown")
except Exception:
logger.warning(f"Couldn't notify on Telegram: {item}")
sentry.captureException()
def osu_pp_change(item, change: typing.Tuple[DirtyDelta, DirtyDelta, DirtyDelta, DirtyDelta]):
@ -128,6 +130,7 @@ def osu_pp_change(item, change: typing.Tuple[DirtyDelta, DirtyDelta, DirtyDelta,
parse_mode="Markdown")
except Exception:
logger.warning(f"Couldn't notify on Telegram: {item}")
sentry.captureException()
def process():