Browse Source

fix(integrations): set self.field_errors in IntegrationFormError (#71024)

Fixes SENTRY-398A
Cathy Teng 10 months ago
parent
commit
8fef8301af
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/sentry/shared_integrations/exceptions/__init__.py

+ 2 - 0
src/sentry/shared_integrations/exceptions/__init__.py

@@ -177,6 +177,8 @@ class IntegrationFormError(IntegrationError):
 
         super().__init__(error)
 
+        self.field_errors = field_errors
+
 
 class ClientError(RequestException):
     """4xx Error Occurred"""