Skip to content

Commit

Permalink
Add error reporting for chain errors (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbarry authored Feb 10, 2024
1 parent 00dbb89 commit 6afb4dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-flowers-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"abstraxion-dashboard": patch
---

Add error tracking for chain errors
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import burntAvatar from "@/public/burntAvatarCircle.png";
import { CheckIcon } from "../Icons";
import { EncodeObject } from "@cosmjs/proto-signing";
import { redirect, useSearchParams } from "next/navigation";
import * as Sentry from "@sentry/nextjs";

interface AbstraxionGrantProps {
contracts: string[];
Expand Down Expand Up @@ -118,6 +119,7 @@ export const AbstraxionGrant = ({
} catch (error) {
setInProgress(false);
console.log("something went wrong: ", error);
Sentry.captureException(error);
}
};

Expand Down

0 comments on commit 6afb4dd

Please sign in to comment.