Skip to content

Commit

Permalink
feat(errors): Stop writing org ID (#1310)
Browse files Browse the repository at this point in the history
Stop writing org ID in the errors processor since we will be soon removing this field from the errors storage.
  • Loading branch information
lynnagara committed Sep 14, 2020
1 parent 33d4dc8 commit f770d5c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion snuba/datasets/errors_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def extract_custom(
data["contexts"] = contexts

output["message"] = _unicodify(event["message"])
output["org_id"] = event["organization_id"]

def extract_tags_custom(
self,
Expand Down
1 change: 0 additions & 1 deletion tests/datasets/test_errors_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ def test_error_processor() -> None:
)

expected_result = {
"org_id": 3,
"project_id": 300688,
"timestamp": error_timestamp,
"event_id": str(UUID("dcb9d002cac548c795d1c9adbfc68040")),
Expand Down

0 comments on commit f770d5c

Please sign in to comment.