betodealmeida commented on code in PR #35810:
URL: https://github.com/apache/superset/pull/35810#discussion_r2620741827


##########
superset-frontend/src/components/Datasource/components/DatasourceEditor/DatasourceEditor.jsx:
##########


Review Comment:
   Codex suggested this here:
   
   
   ```suggestion
       void this.fetchUsageData().catch(error => {
         if (error?.name === 'AbortError') return;
         // non-abort errors are already toasted inside fetchUsageData
       })
   ```
   
   >   This keeps fetchUsageData’s AbortError rethrow behavior for other call 
sites, but ensures the initial mount-side call can’t emit an unhandled 
rejection when the component unmounts mid-request.
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to