Skip to content

Commit 906c070

Browse files
authored
Merge pull request #2693 from IntersectMBO/fix/2682-deviceversionunsupported-conway-era-certificates-not-supported-by-ledger-app-version-501
chore(#2682): remove logging to sentry on failed delegation
2 parents 6950d27 + 2f0bec8 commit 906c070

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ changes.
2626
### Removed
2727

2828
- Remove logging to sentry for DRep registration transaction [Issue 2681](https://github.com/IntersectMBO/govtool/issues/2681)
29+
- Remove logging to sentry when delegation transaction fails [Issue 2682](https://github.com/IntersectMBO/govtool/issues/2682)
2930

3031
## [v2.0.7](https://github.com/IntersectMBO/govtool/releases/tag/v2.0.7) 2025-01-20
3132

govtool/frontend/src/hooks/useDelegateToDrep.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useCallback, useState } from "react";
2-
import * as Sentry from "@sentry/react";
32

43
import { useCardano, useSnackbar } from "@context";
54
import { useGetVoterInfo, useTranslation, useWalletErrorModal } from "@hooks";
@@ -60,8 +59,6 @@ export const useDelegateTodRep = () => {
6059
: (error as { message: string | null })?.message,
6160
dataTestId: "delegate-transaction-error-modal",
6261
});
63-
Sentry.setTag("hook", "useDelegateTodRep");
64-
Sentry.captureException(error);
6562
} finally {
6663
setIsDelegating(null);
6764
}

0 commit comments

Comments
 (0)