|
if (eventData.msg.startsWith('[')) { |
This can break depending on the message sent over. Need to do some type checks before calling methods on it.
error:
Uncaught TypeError: eventData.msg.startsWith is not a function
at QSConsole.tsx:64:35
at basicStateReducer (chunk-PNGJSGSD.js?v=0e3f696c:11751:49)
at updateReducer (chunk-PNGJSGSD.js?v=0e3f696c:11842:30)
at updateState (chunk-PNGJSGSD.js?v=0e3f696c:12069:18)
at Object.useState (chunk-PNGJSGSD.js?v=0e3f696c:12801:24)
at useState (chunk-3TFVT2CW.js?v=0e3f696c:1066:29)
at QSConsole (QSConsole.tsx:20:41)
This occured while running ophyd-websocket version 0.1.1 from pypi
finch/src/components/QServer/QSConsole.tsx
Line 64 in b7284fc
This can break depending on the message sent over. Need to do some type checks before calling methods on it.
error:
This occured while running ophyd-websocket version 0.1.1 from pypi