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
Hi
how can network errors be handled? something like this:
Error: connect ECONNREFUSED 192.168.2.18:8021
constructor only gets a callback which is called after successful connection. but what if esl server is down or not reachable?
The text was updated successfully, but these errors were encountered:
On Thu, Sep 7, 2017 at 3:03 AM, Chad Engler ***@***.***> wrote:
Listen for the error event. It will emit anytime an error happens:
var conn = new esl.Connection(...);
conn.on('error', function (err) {
// handle err
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#68 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD3Vk7cB2OEeg9qp-3jLysXhptGZtaBNks5sfwNBgaJpZM4POFvx>
.
Hi
how can network errors be handled? something like this:
Error: connect ECONNREFUSED 192.168.2.18:8021
constructor only gets a callback which is called after successful connection. but what if esl server is down or not reachable?
The text was updated successfully, but these errors were encountered: