From b7b2dd34cc507bdb69d102dd58f2cf559f258b6f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 23 Jan 2019 15:12:18 +0100 Subject: [PATCH] ? --- statsupdate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/statsupdate.py b/statsupdate.py index c880c54d..b6526d6f 100644 --- a/statsupdate.py +++ b/statsupdate.py @@ -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():