From 1366c93ed8ab05825b92c64fe28ed1acaec54b3d Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Wed, 14 Apr 2021 12:31:10 -0500 Subject: [PATCH] Fix getUnprocessedCount error message --- ts/sql/Server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/sql/Server.ts b/ts/sql/Server.ts index e27219afc..e0f78d5d9 100644 --- a/ts/sql/Server.ts +++ b/ts/sql/Server.ts @@ -3513,7 +3513,7 @@ async function getUnprocessedCount() { const row = await db.get('SELECT count(*) from unprocessed;'); if (!row) { - throw new Error('getMessageCount: Unable to get count of unprocessed'); + throw new Error('getUnprocessedCount: Unable to get count of unprocessed'); } return row['count(*)'];