rename to sendFailureLogs

This commit is contained in:
Girish Ramakrishnan
2016-04-19 18:06:11 -07:00
parent a97720d204
commit 2f8dc35c5d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -28,6 +28,6 @@ function sendCrashNotification(processName) {
}
console.log('Sending crash notification email for', processName);
mailer.sendCrashNotification(processName, result);
mailer.sendFailureLogs(processName, result);
});
}
+2 -2
View File
@@ -12,7 +12,7 @@ exports = module.exports = {
appUpdateAvailable: appUpdateAvailable,
sendInvite: sendInvite,
sendCrashNotification: sendCrashNotification,
sendFailureLogs: sendFailureLogs,
appDied: appDied,
@@ -395,7 +395,7 @@ function certificateRenewed(domain, message) {
// this function bypasses the queue intentionally. it is also expected to work without the mailer module initialized
// crashnotifier should be able to send mail when there is no db
function sendCrashNotification(program, context) {
function sendFailureLogs(program, context) {
assert.strictEqual(typeof program, 'string');
assert.strictEqual(typeof context, 'string');