aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/scripts/pull_missing_events.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/scripts/pull_missing_events.ts')
-rw-r--r--packages/pipeline/src/scripts/pull_missing_events.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/scripts/pull_missing_events.ts b/packages/pipeline/src/scripts/pull_missing_events.ts
index 68cabe3de..c7e07c540 100644
--- a/packages/pipeline/src/scripts/pull_missing_events.ts
+++ b/packages/pipeline/src/scripts/pull_missing_events.ts
@@ -74,7 +74,7 @@ async function getStartBlockAsync<T extends ExchangeEvent>(repository: Repositor
}
const tableName = repository.metadata.tableName;
if (!tableNameRegex.test(tableName)) {
- throw new Error('Unexpected special character in table name: ' + tableName);
+ throw new Error(`Unexpected special character in table name: ${tableName}`);
}
const queryResult = await connection.query(
`SELECT block_number FROM raw.${tableName} ORDER BY block_number DESC LIMIT 1`,