@tiledesk/tiledesk-server 2.3.39 → 2.3.40
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -354,7 +354,7 @@ sendToUserEmailChannelEmail(projectid, message) {
|
|
354
354
|
});
|
355
355
|
|
356
356
|
} catch(e) {
|
357
|
-
winston.error("Error sending email", {error:e, projectid:projectid, message:message});
|
357
|
+
winston.error("Error sending requestNotification email", {error:e, projectid:projectid, message:message});
|
358
358
|
}
|
359
359
|
}
|
360
360
|
|
@@ -459,7 +459,7 @@ sendToFollower(projectid, message) {
|
|
459
459
|
}
|
460
460
|
})
|
461
461
|
} catch (e) {
|
462
|
-
winston.warn("Error sending email", {error:e, projectid:projectid, message: message, savedRequest:savedRequest}); //it's better to view error email at this stage
|
462
|
+
winston.warn("Error sending requestNotification email", {error:e, projectid:projectid, message: message, savedRequest:savedRequest}); //it's better to view error email at this stage
|
463
463
|
}
|
464
464
|
}
|
465
465
|
|
@@ -595,7 +595,7 @@ sendToAgentEmailChannelEmail(projectid, message) {
|
|
595
595
|
//@DISABLED_CACHE .cache(cacheUtil.defaultTTL, "users:id:"+assignedId) //user_cache
|
596
596
|
.exec(function (err, user) {
|
597
597
|
if (err) {
|
598
|
-
winston.error("Error sending email to " + savedRequest.participants[0], err);
|
598
|
+
winston.error("Error sending requestNotification email to " + savedRequest.participants[0], err);
|
599
599
|
}
|
600
600
|
if (!user) {
|
601
601
|
winston.warn("User not found", savedRequest.participants[0]);
|
@@ -625,7 +625,7 @@ sendToAgentEmailChannelEmail(projectid, message) {
|
|
625
625
|
});
|
626
626
|
|
627
627
|
} catch (e) {
|
628
|
-
winston.warn("Error sending email", {error:e, projectid:projectid, message: message, savedRequest:savedRequest}); //it's better to view error email at this stage
|
628
|
+
winston.warn("Error sending requestNotification email", {error:e, projectid:projectid, message: message, savedRequest:savedRequest}); //it's better to view error email at this stage
|
629
629
|
}
|
630
630
|
//end send email
|
631
631
|
|
@@ -666,7 +666,7 @@ sendEmailChannelTakingNotification(projectid, request) {
|
|
666
666
|
});
|
667
667
|
|
668
668
|
} catch(e) {
|
669
|
-
winston.error("Error sending email", {error:e, projectid:projectid, message:message});
|
669
|
+
winston.error("Error sending requestNotification email", {error:e, projectid:projectid, message:message});
|
670
670
|
}
|
671
671
|
}
|
672
672
|
|
@@ -820,7 +820,7 @@ sendUserEmail(projectid, message) {
|
|
820
820
|
});
|
821
821
|
|
822
822
|
} catch(e) {
|
823
|
-
winston.error("Error sending email", {error:e, projectid:projectid, message:message});
|
823
|
+
winston.error("Error sending requestNotification email", {error:e, projectid:projectid, message:message});
|
824
824
|
}
|
825
825
|
}
|
826
826
|
|
@@ -970,7 +970,7 @@ sendAgentEmail(projectid, savedRequest) {
|
|
970
970
|
//@DISABLED_CACHE .cache(cacheUtil.defaultTTL, "users:id:"+assignedId) //user_cache
|
971
971
|
.exec(function (err, user) {
|
972
972
|
if (err) {
|
973
|
-
winston.error("Error sending email to " + savedRequest.participants[0], err);
|
973
|
+
winston.error("Error sending requestNotification email to " + savedRequest.participants[0], err);
|
974
974
|
}
|
975
975
|
if (!user) {
|
976
976
|
winston.warn("User not found", savedRequest.participants[0]);
|
@@ -1018,7 +1018,7 @@ sendAgentEmail(projectid, savedRequest) {
|
|
1018
1018
|
});
|
1019
1019
|
|
1020
1020
|
} catch (e) {
|
1021
|
-
winston.warn("Error sending email", {error:e, projectid:projectid, savedRequest:savedRequest}); //it's better to view error email at this stage
|
1021
|
+
winston.warn("Error sending requestNotification email", {error:e, projectid:projectid, savedRequest:savedRequest}); //it's better to view error email at this stage
|
1022
1022
|
}
|
1023
1023
|
//end send email
|
1024
1024
|
|
package/services/emailService.js
CHANGED
@@ -272,7 +272,7 @@ class EmailService {
|
|
272
272
|
if (mail.callback){
|
273
273
|
mail.callback(error, {info:info});
|
274
274
|
}
|
275
|
-
return winston.error("Error sending email ", {error:error, mailOptions:mailOptions});
|
275
|
+
return winston.error("Error sending email ", {error:error, mailConfig: mail.config, mailOptions:mailOptions});
|
276
276
|
}
|
277
277
|
winston.verbose('Email sent:', {info: info});
|
278
278
|
winston.debug('Email sent:', {info: info, mailOptions: mailOptions});
|