File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ import { DeprecatedAlert } from "components/shared/DeprecatedAlert";
44
44
import { Chain } from "@thirdweb-dev/chains" ;
45
45
import { getContract } from "thirdweb" ;
46
46
import { defineDashboardChain , thirdwebClient } from "lib/thirdweb-client" ;
47
+ import * as Sentry from "@sentry/nextjs" ;
47
48
48
49
type EVMContractProps = {
49
50
contractInfo ?: EVMContractInfo ;
@@ -173,6 +174,12 @@ const ContractPage: ThirdwebNextPage = () => {
173
174
[ activeTab , routes ] ,
174
175
) ;
175
176
177
+ if ( ! contractInfo ) {
178
+ Sentry . captureException (
179
+ new Error ( "Contract info not found in EVMContractInfoProvider" ) ,
180
+ ) ;
181
+ }
182
+
176
183
if ( chainNotFound ) {
177
184
return (
178
185
< HomepageSection maxW = "container.md" mx = "auto" >
You can’t perform that action at this time.
0 commit comments