Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the connstr from exceptions
Browse files Browse the repository at this point in the history
bdragon300 committed Nov 3, 2024
1 parent 1e659bf commit 955cae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyzkaccess/sdk.py
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ def connect(self, connstr: str) -> None:
if self.handle == 0:
self.handle = None
err = self.dll.PullLastError()
raise ZKSDKError(f"Unable to connect a device using connstr {connstr}", err)
raise ZKSDKError("Unable to connect a device", err)

def disconnect(self) -> None:
"""Disconnect from a device

0 comments on commit 955cae4

Please sign in to comment.