diff options
| author | Adam Soltys <[email protected]> | 2024-10-23 17:10:09 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-23 17:10:09 +0000 |
| commit | 4a8fab2201253c53483ef33e6418967129c99463 (patch) | |
| tree | db9189f78d494b6881ae7d8deef47b99540d447f /lib | |
| parent | bab9ba9bec1d646cc228168d7238c1cd232fd180 (diff) | |
| download | coinos-server-4a8fab2201253c53483ef33e6418967129c99463.tar.gz coinos-server-4a8fab2201253c53483ef33e6418967129c99463.zip | |
log invalid type
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts index a17288ca..f2653d74 100644 --- a/lib/invoices.ts +++ b/lib/invoices.ts @@ -91,7 +91,7 @@ export let generate = async ({ invoice, user }) => { } else if (type === types.internal) { hash = id; } else { - fail("unrecognized type"); + fail("unrecognized type", type); } invoice = { |
