mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 08:20:02 +02:00
using logger instead of print statement
This commit is contained in:
parent
5badd86d5a
commit
c1f0b7b74d
@ -124,7 +124,7 @@ class TaskManager:
|
|||||||
try:
|
try:
|
||||||
await method(*args, **kwargs)
|
await method(*args, **kwargs)
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
print(f"Task {name} was cancelled")
|
logger.info(f"Task {name} was cancelled")
|
||||||
|
|
||||||
if not self.tasks.get(name):
|
if not self.tasks.get(name):
|
||||||
# Get the signature of the coroutine method to start
|
# Get the signature of the coroutine method to start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user