Skip to content

Commit

Permalink
rotor: better error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Dec 18, 2023
1 parent 31ebed7 commit 230fe22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/rotor/src/lib/functions-chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export async function runChain(
continue;
}
} else {
const args = [err];
const args = [err?.name, err?.message];
const r = retryObject(err, eventContext.retries ?? 0);
if (r) {
args.push(r);
Expand Down

0 comments on commit 230fe22

Please sign in to comment.