Browse Source

fix(replays): add description for Error tooltip (#34967)

### Description

- Add description for Error tooltip, right now is showing `undefined`

Fixes: #34766
Daian Scuarissi 2 years ago
parent
commit
c0444bc91f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      static/app/components/replays/actionCategory.tsx

+ 1 - 1
static/app/components/replays/actionCategory.tsx

@@ -32,7 +32,7 @@ function getActionCategoryInfo(crumb: Crumb): ActionCategoryInfo {
     case BreadcrumbType.ERROR:
       return {
         title: t('Error'),
-        description: `${crumb.category}: ${crumb.message}`,
+        description: `${crumb.data?.type}: ${crumb.data?.value}`,
       };
     case BreadcrumbType.INIT:
       return {