|
@@ -226,7 +226,7 @@ class Server(object):
|
|
|
it unregisters itself from atexit, so it doesn't get executed twice
|
|
|
when it was manually called before to program exits.
|
|
|
"""
|
|
|
- def error_handler(func,*args,log_text="error",async_=True,**kwargs):
|
|
|
+ def error_handler(func,*args,log_text="error",async_=False,**kwargs):
|
|
|
try:
|
|
|
if async:
|
|
|
await func(*args,**kwargs)
|