Skip to content

Commit 5d97ffa

Browse files
committed
💄
1 parent 6429095 commit 5d97ffa

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

extraasync/async_hooks.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,16 @@ def new_run_forever_cleanup():
158158
cb()
159159
except Exception as exc:
160160
if not DEBUG:
161-
warnings.warn(f"""\
161+
warnings.warn(
162+
f"""\
162163
Supressed Exception raised on loop callback {cb.__name__}:
163164
{exc}
164165
165166
set extraasync.async_hooks.DEBUG to True
166167
to have it raised instead.
167168
168-
""")
169+
"""
170+
)
169171
else:
170172
raise exc
171173
original_clean_up()

0 commit comments

Comments
 (0)