Describe the bug
When denying a QR code login request, the denial is not handled or parsed by the error emitter correctly.
Versions
node-steam-session@1.9.0
node@22.9.0
Screenshots and Error Logs
Reproduction:
- Set up the example login-with-qr
- Run the example
- Scan the QR code
- When prompted between signing in or canceling, choose cancel
- =>
ERROR: This login attempt has failed! FileNotFound
Stacktrace:
Error: FileNotFound
at eresultError (steam-session@1.9.0\node_modules\steam-session\dist\helpers.js:14:15)
at AuthenticationClient.sendRequest (steam-session@1.9.0\node_modules\steam-session\dist\AuthenticationClient.js:243:46)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async AuthenticationClient.pollLoginStatus (steam-session@1.9.0\node_modules\steam-session\dist\AuthenticationClient.js:147:22)
at async LoginSession._doPoll (steam-session@1.9.0\node_modules\steam-session\dist\LoginSession.js:493:28) {
eresult: 9
}
Describe the bug
When denying a QR code login request, the denial is not handled or parsed by the error emitter correctly.
Versions
node-steam-session@1.9.0
node@22.9.0
Screenshots and Error Logs
Reproduction:
ERROR: This login attempt has failed! FileNotFoundStacktrace: