Remove leaking exceptions

This commit is contained in:
Mint 2022-11-20 18:14:21 +03:00
parent 8e87ef927d
commit b064d72733

7
gen.py
View file

@ -35,13 +35,6 @@ async def main():
try: try:
await pl.post(toot, visibility='unlisted', cw=cfg['cw']) await pl.post(toot, visibility='unlisted', cw=cfg['cw'])
except Exception: 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 raise
try: try: