File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
components/contract-components/contract-deploy-form Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ export function reportContractDeployed(properties: {
3737 */
3838export function reportContractDeployFailed ( properties : {
3939 errorMessage : string ;
40+ chainId : number ;
41+ publisher : string | undefined ;
42+ contractName : string | undefined ;
4043} ) {
4144 posthog . capture ( "contract deploy failed" , properties ) ;
4245}
Original file line number Diff line number Diff line change @@ -696,6 +696,9 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
696696 const parsedError = parseError ( e ) ;
697697 reportContractDeployFailed ( {
698698 errorMessage : parsedError ,
699+ chainId : walletChain . id ,
700+ publisher : rewriteTwPublisher ( metadata . publisher ) ,
701+ contractName : metadata . name ,
699702 } ) ;
700703
701704 deployStatusModal . close ( ) ;
You can’t perform that action at this time.
0 commit comments