File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
src/sentry/feedback/usecases/ingest Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 25
25
)
26
26
from sentry .issues .grouptype import FeedbackGroup
27
27
from sentry .issues .issue_occurrence import IssueEvidence , IssueOccurrence
28
- from sentry .issues .json_schemas import EVENT_PAYLOAD_SCHEMA , LEGACY_EVENT_PAYLOAD_SCHEMA
28
+ from sentry .issues .json_schemas import EVENT_PAYLOAD_SCHEMA
29
29
from sentry .issues .producer import PayloadType , produce_occurrence_to_kafka
30
30
from sentry .issues .status_change_message import StatusChangeMessage
31
31
from sentry .models .group import GroupStatus
@@ -165,11 +165,8 @@ def validate_issue_platform_event_schema(event_data):
165
165
try :
166
166
jsonschema .validate (event_data , EVENT_PAYLOAD_SCHEMA )
167
167
except jsonschema .exceptions .ValidationError :
168
- try :
169
- jsonschema .validate (event_data , LEGACY_EVENT_PAYLOAD_SCHEMA )
170
- except jsonschema .exceptions .ValidationError :
171
- metrics .incr ("feedback.create_feedback_issue.invalid_schema" )
172
- raise
168
+ metrics .incr ("feedback.create_feedback_issue.invalid_schema" )
169
+ raise
173
170
174
171
175
172
def should_filter_feedback (event : dict ) -> tuple [bool , str | None ]:
You can’t perform that action at this time.
0 commit comments