Skip to content

Commit

Permalink
Merge pull request #2693 from IntersectMBO/fix/2682-deviceversionunsu…
Browse files Browse the repository at this point in the history
…pported-conway-era-certificates-not-supported-by-ledger-app-version-501

chore(#2682): remove logging to sentry on failed delegation
  • Loading branch information
MSzalowski authored Jan 23, 2025
2 parents 6950d27 + 2f0bec8 commit 906c070
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ changes.
### Removed

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

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

Expand Down
3 changes: 0 additions & 3 deletions govtool/frontend/src/hooks/useDelegateToDrep.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useCallback, useState } from "react";
import * as Sentry from "@sentry/react";

import { useCardano, useSnackbar } from "@context";
import { useGetVoterInfo, useTranslation, useWalletErrorModal } from "@hooks";
Expand Down Expand Up @@ -60,8 +59,6 @@ export const useDelegateTodRep = () => {
: (error as { message: string | null })?.message,
dataTestId: "delegate-transaction-error-modal",
});
Sentry.setTag("hook", "useDelegateTodRep");
Sentry.captureException(error);
} finally {
setIsDelegating(null);
}
Expand Down

0 comments on commit 906c070

Please sign in to comment.