aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mail.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mail.js b/lib/mail.js
index bda50bec..e3336363 100644
--- a/lib/mail.js
+++ b/lib/mail.js
@@ -39,7 +39,6 @@ export let mail = async (user, subject, template, params) => {
})
);
} catch (e) {
- console.log(e);
- err(e.message);
+ err("failed to send email", e.message);
}
};