diff options
| author | Adam Soltys <[email protected]> | 2024-05-15 04:44:22 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-05-15 04:44:22 +0000 |
| commit | 175156e0a20008c8568481cf4890feb9915c14d9 (patch) | |
| tree | 85b24ba2ba49f5fed26658fd301e12f879dee99c /lib/webhooks.js | |
| parent | 8777ac8bf4d07db11660675248b081bb82bcd326 (diff) | |
| download | coinos-server-175156e0a20008c8568481cf4890feb9915c14d9.tar.gz coinos-server-175156e0a20008c8568481cf4890feb9915c14d9.zip | |
webhook err log
Diffstat (limited to 'lib/webhooks.js')
| -rw-r--r-- | lib/webhooks.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/webhooks.js b/lib/webhooks.js index 5d9113d0..5aed9287 100644 --- a/lib/webhooks.js +++ b/lib/webhooks.js @@ -1,6 +1,6 @@ import config from "$config"; import got from "got"; -import { l } from "$lib/logging"; +import { l, err } from "$lib/logging"; export const callWebhook = async (invoice, payment) => { try { @@ -27,6 +27,6 @@ export const callWebhook = async (invoice, payment) => { return res; } } catch (e) { - console.log("problem calling webhook", e); + err("problem calling webhook", e.message); } }; |
