mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
fix: Fix error output when sending email or message to Slack
This commit is contained in:
@@ -23,9 +23,9 @@ module.exports = {
|
||||
from: sails.config.custom.smtpFrom,
|
||||
});
|
||||
|
||||
sails.log.info('Email sent: %s', info.messageId);
|
||||
sails.log.info(`Email sent: ${info.messageId}`);
|
||||
} catch (error) {
|
||||
sails.log.error(error); // TODO: provide description text?
|
||||
sails.log.error(`Error sending email: ${error}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user