justinpark opened a new pull request, #34261:
URL: https://github.com/apache/superset/pull/34261

   ### SUMMARY
   
   For Airbnb, we display custom errors according to the error_type. However, 
in the current Superset API, unlike the query result API, SupersetApiError is 
thrown, and [error_type is mapped to 
errorType](https://github.com/apache/superset/blob/b24aca0304b53cdf6f92bf600b64152015cafa30/superset-frontend/packages/superset-ui-core/src/query/api/v1/types.ts#L110),
 which causes custom overrides to not work properly. In this PR, I have 
resolved the issue by correcting the type of the errorType value.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Before:
   <img width="1151" height="1040" alt="Screenshot 2025-07-21 at 1 45 19 PM" 
src="https://github.com/user-attachments/assets/16384b08-e9a8-4033-a509-b905c33b08cb";
 />
   
   After:
   <img width="1152" height="925" alt="Screenshot 2025-07-21 at 1 45 02 PM" 
src="https://github.com/user-attachments/assets/a4a2b55e-509b-4ff2-8c45-59e7609a06ab";
 />
   
   
   ### TESTING INSTRUCTIONS
   locally
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to