MetaMask / MetaMask/metamask-mobile

Transaction error: make more informative

Open
#2,014 2 comments 0 reactions 0 assignees View on GitHub
needs-design team-mobile-platform
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

Ideally prevent this error. It shows up randomly and could happen for a number of reasons.

1. We need to give better info to users so that they can recover from this error and proceed to complete their task. E.g.,

> “Transaction error, something went wrong. Please login and try again”

2. We should better handle how we report these errors to Sentry to help us debug.

![image.png](https://images.zenhubusercontent.com/5c18e51bb423df7568ac3781/5af2b25d-68a1-4e8f-8d56-b9e98b7f4e07)

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Trace where transaction failures are surfaced in the mobile app and reported to Sentry; done means users receive actionable error information and Sentry receives better diagnostic context.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.