Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bskjon committed Jul 6, 2024
1 parent 4cf04f2 commit 5cb5ac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DynamicRoutingUpdater/NetworkHookHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ def __puller_remove(self, name: str) -> None:
targetThread = next(filter(lambda x: x.name == name, self.nicsPullerThreads))
self.nicsPullerThreads.remove(targetThread)
except Exception as e:
traceback.print_exc()
logging.log("Exception occured when attempting to remove a thread from pullers")
logging.exception(e)

def __puller_thread(self, nic: str, waitTime: int = 60) -> None:
"""Thread for pulling on adapter
Expand Down

0 comments on commit 5cb5ac7

Please sign in to comment.