sadpandajoe commented on code in PR #37897:
URL: https://github.com/apache/superset/pull/37897#discussion_r2824885803
##########
superset-frontend/src/views/CRUD/hooks.ts:
##########
@@ -796,8 +829,8 @@ export function useDatabaseValidation() {
];
return allowed.includes(err.error_type) || onCreate;
})
- .reduce((acc: JsonObject, err_2: any) => {
- const { message, extra } = err_2;
+ .reduce((acc: JsonObject, err2: any) => {
Review Comment:
nit: `err2` isn't super descriptive. Should rename to something more
descriptive in the future.
--
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]