Added query path into query error

This commit is contained in:
Tomaae 2023-09-18 09:07:10 +02:00
parent 715ead5458
commit 975f882416
No known key found for this signature in database
GPG key ID: 2F97770867DAA4E6

View file

@ -196,7 +196,7 @@ class MikrotikAPI:
try:
response = list(response)
except Exception as e:
self.disconnect("building list for path", e)
self.disconnect(f"building list for path {path}", e)
self.lock.release()
return None
elif response and command: