Skip to content

Commit 38e58d4

Browse files
committed
fix(utils): enable exception throwing in PyromodConfig
1 parent 28d11f4 commit 38e58d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ def get_premium_duration_day_count(month_count: int) -> int:
751751
PyromodConfig = SimpleNamespace(
752752
timeout_handler=None,
753753
stopped_handler=None,
754-
throw_exceptions=False,
754+
throw_exceptions=True,
755755
unallowed_click_alert=True,
756756
unallowed_click_alert_text="You're not expected to click this button.",
757757
)

0 commit comments

Comments
 (0)