aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-20 22:17:58 +0000
committerAdam Soltys <[email protected]>2023-12-20 22:18:03 +0000
commit47d94c90b360a6025df0c348a465b98e7b401541 (patch)
treeddca916910fd14b0827a89cc2e81cac31c0e58e2 /lib
parent48fd5545bfa4417e09923e2437316466608a4c24 (diff)
downloadcoinos-server-47d94c90b360a6025df0c348a465b98e7b401541.tar.gz
coinos-server-47d94c90b360a6025df0c348a465b98e7b401541.zip
logging
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);
}
};