codyml commented on code in PR #22610: URL: https://github.com/apache/superset/pull/22610#discussion_r1068648724
########## superset-frontend/src/views/CRUD/data/dataset/AddDataset/DatasetPanel/index.tsx: ########## @@ -94,8 +95,10 @@ const DatasetPanelWrapper = ({ setColumnList([]); setHasColumns?.(false); setHasError(true); - // eslint-disable-next-line no-console - console.error( + addDangerToast( + `The API response from ${path} does not match the IDatabaseTable interface.`, Review Comment: Yep! You can add multiple too, so you can do `t('First var is %s, second var is %s', firstVar, secondVar)`. I believe it comes from C's `printf` format string minilanguage. -- 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