aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/invoices.ts2
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 = {