From 4a8fab2201253c53483ef33e6418967129c99463 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 23 Oct 2024 17:10:09 +0000 Subject: log invalid type --- lib/invoices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 = { -- cgit v1.2.3