1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Let email node better report catchable connection errors

to close #956
This commit is contained in:
Dave Conway-Jones 2022-10-16 17:50:39 +01:00
parent 4a1f3dd749
commit 06c9bd65a7
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF
2 changed files with 2 additions and 2 deletions

View File

@ -534,8 +534,8 @@ module.exports = function(RED) {
});
imap.on('error', function(err) {
if (err.errno !== "ECONNRESET") {
node.log(err);
s = false;
node.error(err.message,err);
node.status({fill:"red",shape:"ring",text:"email.status.connecterror"});
}
setInputRepeatTimeout();

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-email",
"version": "1.18.0",
"version": "1.18.1",
"description": "Node-RED nodes to send and receive simple emails.",
"dependencies": {
"imap": "^0.8.19",