Browse Source

fix: Hide reprocessing context entirely (#22720)

Markus Unterwaditzer 4 years ago
parent
commit
16188ffcc3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/sentry/static/sentry/app/components/events/contexts.jsx

+ 6 - 0
src/sentry/static/sentry/app/components/events/contexts.jsx

@@ -152,6 +152,12 @@ class ContextChunk extends React.Component {
 
     const evt = this.props.event;
     const {type, alias, value = {}} = this.props;
+
+    // we intentionally hide reprocessing context to not imply it was sent by the SDK.
+    if (alias === 'reprocessing') {
+      return null;
+    }
+
     const Component =
       type === 'default'
         ? getContextComponent(alias) || getContextComponent(type)