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 586de5c7..f71806ec 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);
}
};