Merge branch 'master' into community-pagination-

This commit is contained in:
Wyatt Johnson
2017-10-24 11:30:07 -06:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -64,7 +64,11 @@ const options = {
};
if (SMTP_PORT) {
options.port = SMTP_PORT;
try {
options.port = parseInt(SMTP_PORT);
} catch (e) {
throw new Error('TALK_SMTP_PORT is not an integer');
}
} else {
options.port = 25;
}