From 4c78538d1071033b67432ddd93c3c5753a0eb0aa Mon Sep 17 00:00:00 2001 From: David Newell Date: Mon, 25 Nov 2024 16:01:42 +0000 Subject: [PATCH] fix: case where symbol set is not available (#26388) --- posthog/api/error_tracking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posthog/api/error_tracking.py b/posthog/api/error_tracking.py index f2e041656ae29..3943c5a784e1b 100644 --- a/posthog/api/error_tracking.py +++ b/posthog/api/error_tracking.py @@ -49,7 +49,7 @@ class ObjectStorageUnavailable(Exception): class ErrorTrackingStackFrameSerializer(serializers.ModelSerializer): - symbol_set_ref = serializers.CharField(source="symbol_set.ref") + symbol_set_ref = serializers.CharField(source="symbol_set.ref", default=None) class Meta: model = ErrorTrackingStackFrame