We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6429095 commit 5d97ffaCopy full SHA for 5d97ffa
1 file changed
extraasync/async_hooks.py
@@ -158,14 +158,16 @@ def new_run_forever_cleanup():
158
cb()
159
except Exception as exc:
160
if not DEBUG:
161
- warnings.warn(f"""\
+ warnings.warn(
162
+ f"""\
163
Supressed Exception raised on loop callback {cb.__name__}:
164
{exc}
165
166
set extraasync.async_hooks.DEBUG to True
167
to have it raised instead.
168
- """)
169
+ """
170
+ )
171
else:
172
raise exc
173
original_clean_up()
0 commit comments