aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/invoices.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.ts b/lib/invoices.ts
index 38ebfc87..749994b4 100644
--- a/lib/invoices.ts
+++ b/lib/invoices.ts
@@ -91,7 +91,7 @@ export const generate = async ({ invoice, user }) => {
} else if (type === types.internal) {
hash = id;
} else {
- fail("unrecognized type", type);
+ fail(`unrecognized type ${type}`);
}
invoice = {