mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 07:00:54 +00:00
feat: Matching go-libp2p PeerStore implementation
This commit is contained in:
@ -18,7 +18,6 @@ import sys
|
||||
from typing import (
|
||||
Any,
|
||||
TypeVar,
|
||||
cast,
|
||||
)
|
||||
import uuid
|
||||
|
||||
@ -361,7 +360,7 @@ class BaseManager(InternalManagerAPI):
|
||||
# Only show stacktrace if this is **not** a DaemonTaskExit error
|
||||
exc_info=not isinstance(err, DaemonTaskExit),
|
||||
)
|
||||
self._errors.append(cast(EXC_INFO, sys.exc_info()))
|
||||
self._errors.append(sys.exc_info())
|
||||
self.cancel()
|
||||
else:
|
||||
if task.parent is None:
|
||||
|
||||
Reference in New Issue
Block a user