Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on socket error #2

Open
Marv-CZ opened this issue Jan 27, 2020 · 0 comments
Open

Crash on socket error #2

Marv-CZ opened this issue Jan 27, 2020 · 0 comments

Comments

@Marv-CZ
Copy link

Marv-CZ commented Jan 27, 2020

On socket error (e.g. system can't resolve GPSd server name) Node-RED crashes:

TypeError: Cannot read property 'handleError' of undefined
at Object.Node.error (/opt/nodered/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:276:30)
at Socket. (/opt/noderedgpsd/lib/node_modules/node-red/nodes/extra/gpsd/node_modules/node-gpsd/lib/gpsd.js:95:25)
at Socket.emit (events.js:189:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)

Node-RED v0.20.5
Node.js v10.15.3
node-red-contrib-gpsd 1.0.2
node-gpsd 0.3.0
Linux 4.14.138 arm LE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant