From 4c96807ac4663bde5c5b633639e85b8036d73781 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 15 Jul 2024 17:02:44 -0300 Subject: [PATCH] feat: Update telemetry schema to allow for optional error message The telemetry schema has been updated to include an optional `componentErrorMessage` field, allowing for the recording of error messages when necessary. This change improves the accuracy and completeness of telemetry data. --- src/backend/base/langflow/services/telemetry/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/services/telemetry/schema.py b/src/backend/base/langflow/services/telemetry/schema.py index d4b80f3f2aa0..a78629d5cb0d 100644 --- a/src/backend/base/langflow/services/telemetry/schema.py +++ b/src/backend/base/langflow/services/telemetry/schema.py @@ -34,4 +34,4 @@ class ComponentPayload(BaseModel): componentName: str componentSeconds: int componentSuccess: bool - componentErrorMessage: str + componentErrorMessage: str | None = None