You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, if a Port encounters an error during the process of sending an OSC packet—for example, if it fails to encode the packet due to errors in its structure—it will continue to attempt to send the message, causing unhelpful exceptions to be thrown.
Instead, osc.js should fire the error event and discontinue its efforts to send the packet. Arguably, if no error event handler is registered, it should do something more drastic such as logging a message or throwing an Error, since without this, the system would fail silently and with the appearance of success.
The text was updated successfully, but these errors were encountered:
Right now, if a
Port
encounters an error during the process of sending an OSC packet—for example, if it fails to encode the packet due to errors in its structure—it will continue to attempt to send the message, causing unhelpful exceptions to be thrown.Instead, osc.js should fire the error event and discontinue its efforts to send the packet. Arguably, if no
error
event handler is registered, it should do something more drastic such as logging a message or throwing an Error, since without this, the system would fail silently and with the appearance of success.The text was updated successfully, but these errors were encountered: