Skip to content

Commit

Permalink
ignore all runner errors in V1 rather than sending them to the DLQ (#295
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gabehamilton authored Oct 16, 2023
1 parent cb91dcf commit 4636dbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion indexer-js-queue-handler/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ export const consumer = async (event) => {
const function_name = function_config.account_id + '/' + function_config.function_name;
functions[function_name] = function_config;

const mutations = await indexer.runFunctions(block_height, functions, is_historical, {imperative: true, provision: true});
try {
const mutations = await indexer.runFunctions(block_height, functions, is_historical, {imperative: true, provision: true});
} catch(e) {
console.error(e);
}
}
};

0 comments on commit 4636dbc

Please sign in to comment.