mirror of
https://git.kiwifarms.net/mint/ebooks.git
synced 2024-10-22 23:39:05 +00:00
Remove leaking exceptions
This commit is contained in:
parent
8e87ef927d
commit
b064d72733
1 changed files with 0 additions and 7 deletions
7
gen.py
7
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:
|
||||
|
|
Loading…
Reference in a new issue