st-one-io / node-red-contrib-smb

Node of Node-RED for SMB Protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught exception

TheCodeCaptain opened this issue · comments

Any miss configuration eg. a wrong user name or creating a file which already exists leads to an uncaught exception.

28 Jun 13:55:53 - [error] [SMB:7e98342162a9f2c9] Error: STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information.
28 Jun 13:55:53 - [red] Uncaught Exception:
28 Jun 13:55:53 - [error] Error: STATUS_LOGON_FAILURE (0xC000006D) : The attempted logon is invalid. This is either due to a bad username or authentication information.
at SMB2Forge.request (C:\Users\CodeCaptain.node-red\node_modules@marsaud\smb2\lib\tools\smb2-forge.js:22:15)
at C:\Users\CodeCaptain.node-red\node_modules@marsaud\smb2\lib\tools\smb2-connection.js:114:11
at Object. (C:\Users\CodeCaptain.node-red\node_modules@marsaud\smb2\lib\tools\message.js:15:15)
at Socket. (C:\Users\CodeCaptain.node-red\node_modules@marsaud\smb2\lib\tools\smb2-forge.js:71:31)
at Socket.emit (node:events:526:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)