mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
?
This commit is contained in:
parent
09c17829a3
commit
b7b2dd34cc
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,7 @@ def new_dota_rank(item: db.Dota, change):
|
||||||
f" {item.get_rank_name()} {item.get_rank_number()} su Dota 2!")
|
f" {item.get_rank_name()} {item.get_rank_number()} su Dota 2!")
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warning(f"Couldn't notify on Telegram: {item}")
|
logger.warning(f"Couldn't notify on Telegram: {item}")
|
||||||
|
sentry.captureException()
|
||||||
|
|
||||||
|
|
||||||
def new_lol_rank(item, change: typing.Tuple[Dirty, Dirty, Dirty]):
|
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")
|
parse_mode="Markdown")
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warning(f"Couldn't notify on Telegram: {item}")
|
logger.warning(f"Couldn't notify on Telegram: {item}")
|
||||||
|
sentry.captureException()
|
||||||
|
|
||||||
|
|
||||||
def osu_pp_change(item, change: typing.Tuple[DirtyDelta, DirtyDelta, DirtyDelta, DirtyDelta]):
|
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")
|
parse_mode="Markdown")
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.warning(f"Couldn't notify on Telegram: {item}")
|
logger.warning(f"Couldn't notify on Telegram: {item}")
|
||||||
|
sentry.captureException()
|
||||||
|
|
||||||
|
|
||||||
def process():
|
def process():
|
||||||
|
|
Loading…
Reference in a new issue