From b064d72733ab2f31c528132a6b4984db819fa236 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Sun, 20 Nov 2022 18:14:21 +0300 Subject: [PATCH] Remove leaking exceptions --- gen.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gen.py b/gen.py index 7b59857..7385e51 100755 --- a/gen.py +++ b/gen.py @@ -35,13 +35,6 @@ async def main(): try: await pl.post(toot, visibility='unlisted', cw=cfg['cw']) except Exception: - import traceback - toot = ( - 'An error occurred while submitting the generated post. ' - 'Contact io@csdisaster.club for assistance. Full traceback:\n\n' - + traceback.format_exc() - ) - await pl.post(toot, visibility='unlisted', cw='Error!') raise try: