aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src/scripts/update_relayer_info.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/src/scripts/update_relayer_info.ts')
-rw-r--r--packages/pipeline/src/scripts/update_relayer_info.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/pipeline/src/scripts/update_relayer_info.ts b/packages/pipeline/src/scripts/update_relayer_info.ts
index f54e16b6c..051289992 100644
--- a/packages/pipeline/src/scripts/update_relayer_info.ts
+++ b/packages/pipeline/src/scripts/update_relayer_info.ts
@@ -5,6 +5,7 @@ import { RelayerRegistrySource } from '../data_sources/relayer-registry';
import { Relayer } from '../entities';
import { deployConfig } from '../ormconfig';
import { parseRelayers } from '../parsers/relayer_registry';
+import { handleError } from '../utils';
// NOTE(albrow): We need to manually update this URL for now. Fix this when we
// have the relayer-registry behind semantic versioning.
@@ -17,7 +18,7 @@ let connection: Connection;
connection = await createConnection(deployConfig);
await getRelayers();
process.exit(0);
-})();
+})().catch(handleError);
async function getRelayers(): Promise<void> {
console.log('Getting latest relayer info...');