aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/errors.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/errors.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/errors.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/errors.ts b/packages/taler-wallet-core/src/operations/errors.ts
index 198d3f8c5..76f640344 100644
--- a/packages/taler-wallet-core/src/operations/errors.ts
+++ b/packages/taler-wallet-core/src/operations/errors.ts
@@ -96,7 +96,9 @@ export async function guardOperationException<T>(
const opErr = makeErrorDetails(
TalerErrorCode.WALLET_UNEXPECTED_EXCEPTION,
`unexpected exception (message: ${e.message})`,
- {},
+ {
+ stack: e.stack,
+ },
);
await onOpError(opErr);
throw new OperationFailedAndReportedError(opErr);