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: {
37
37
*/
38
38
export function reportContractDeployFailed ( properties : {
39
39
errorMessage : string ;
40
+ chainId : number ;
41
+ publisher : string | undefined ;
42
+ contractName : string | undefined ;
40
43
} ) {
41
44
posthog . capture ( "contract deploy failed" , properties ) ;
42
45
}
Original file line number Diff line number Diff line change @@ -696,6 +696,9 @@ export const CustomContractForm: React.FC<CustomContractFormProps> = ({
696
696
const parsedError = parseError ( e ) ;
697
697
reportContractDeployFailed ( {
698
698
errorMessage : parsedError ,
699
+ chainId : walletChain . id ,
700
+ publisher : rewriteTwPublisher ( metadata . publisher ) ,
701
+ contractName : metadata . name ,
699
702
} ) ;
700
703
701
704
deployStatusModal . close ( ) ;
You can’t perform that action at this time.
0 commit comments