Skip to content

Commit

Permalink
chore(connectors): add error cause to the debounce api (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil authored Feb 26, 2025
1 parent d2b88db commit c46dac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connectors/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ export const isEmailSafeToSendTransactional = async (
} catch (error) {
logger.error(error);

throw new Error("Error from Debounce API");
throw new Error("Error from Debounce API", { cause: error });
}
};

0 comments on commit c46dac3

Please sign in to comment.