Skip to content

Commit

Permalink
Changed error code to a custom one to differentiate from actual `ECON…
Browse files Browse the repository at this point in the history
…NRESET`
  • Loading branch information
fouadgm committed Aug 15, 2023
1 parent 49c99ab commit 488ce3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -16,7 +16,7 @@ const tvSdbConnect = () => {

tvSdb.connect(26101, Config.tvIP);
reconnectionInterval = setTimeout(() => {
tvSdb.destroy({message: 'Reconnection timeout', code: 'ECONNRESET'});
tvSdb.destroy({message: 'Reconnection timeout', code: 'FORCED_RESET'});
}, 5000);
};

Expand Down

0 comments on commit 488ce3d

Please sign in to comment.