Skip to content

Commit abb5f1d

Browse files
committed
Simplify error log
1 parent d9ce9e9 commit abb5f1d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,7 @@ def enum_host_info(self):
273273
self.signing,
274274
)
275275
except Exception as e:
276-
self.logger.debug(f"Error adding host {self.host} into db")
277-
self.logger.debug(str(e))
276+
self.logger.debug(f"Error adding host {self.host} into db: {e!s}")
278277

279278
try:
280279
# DCs seem to want us to logoff first, windows workstations sometimes reset the connection

0 commit comments

Comments
 (0)