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(*)'];