Fix getUnprocessedCount error message
This commit is contained in:
parent
a50d797d16
commit
1366c93ed8
1 changed files with 1 additions and 1 deletions
|
@ -3513,7 +3513,7 @@ async function getUnprocessedCount() {
|
||||||
const row = await db.get('SELECT count(*) from unprocessed;');
|
const row = await db.get('SELECT count(*) from unprocessed;');
|
||||||
|
|
||||||
if (!row) {
|
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(*)'];
|
return row['count(*)'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue