Skip to content

Commit

Permalink
Revert "chore: add send error log (#3832)"
Browse files Browse the repository at this point in the history
This reverts commit 64a03e1.
  • Loading branch information
Dargon789 committed Feb 14, 2025
1 parent a618020 commit dcdf6b4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
23 changes: 0 additions & 23 deletions .changeset/gentle-snakes-flash.md

This file was deleted.

2 changes: 0 additions & 2 deletions packages/core/src/controllers/SendController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,10 @@ export const SendController = {
})
this.resetSend()
} catch (error) {
const errorMessage = error instanceof Error ? error.message : 'Unknown error'
EventsController.sendEvent({
type: 'track',
event: 'SEND_ERROR',
properties: {
message: errorMessage,
isSmartAccount:
AccountController.state.preferredAccountType ===
W3mFrameRpcConstants.ACCOUNT_TYPES.SMART_ACCOUNT,
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/utils/TypeUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,6 @@ export type Event =
address?: string
event: 'SEND_ERROR'
properties: {
message: string
isSmartAccount: boolean
network: string
token: string
Expand Down

0 comments on commit dcdf6b4

Please sign in to comment.