Skip to content

Commit 54de05f

Browse files
committed
feat: added a console.error for failing tx’s
1 parent 2b282ce commit 54de05f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/generateToast.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export async function generateToast(
119119
}
120120

121121
export function beautifyErrorMessage(error: string) {
122+
console.error(error)
122123
if (error.includes('too old'))
123124
return 'The oracle prices are stale. Please wait until the prices in the oracle contract are updated again.'
124125

0 commit comments

Comments
 (0)