event.data getters

in preparation for scenarios where the dumped data is not stored in the DB
This commit is contained in:
Klaas van Schelven
2025-02-07 17:09:36 +01:00
parent 1a3e3d0189
commit 561c1d324a
5 changed files with 17 additions and 11 deletions

View File

@@ -81,7 +81,7 @@ class Command(BaseCommand):
print("considering", project_id)
project = Project.objects.get(pk=project_id)
for event in project.event_set.all():
data = json.loads(event.data)
data = event.get_parsed_data()
if self.send_to_server(dsn, options, str(event.id), data, use_envelope, compress):
successfully_sent.append(event.id)