mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: migrate console logs to logging service (#10608)
This commit is contained in:
@@ -23,6 +23,7 @@ import { bindActionCreators } from 'redux';
|
||||
import { connect } from 'react-redux';
|
||||
import styled from '@superset-ui/style';
|
||||
import { t } from '@superset-ui/translation';
|
||||
import { logging } from '@superset-ui/core';
|
||||
|
||||
import ExploreChartPanel from './ExploreChartPanel';
|
||||
import ControlPanelsContainer from './ControlPanelsContainer';
|
||||
@@ -247,8 +248,7 @@ class ExploreViewContainer extends React.Component {
|
||||
history.pushState(payload, title, longUrl);
|
||||
}
|
||||
} catch (e) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(
|
||||
logging.warn(
|
||||
'Failed at altering browser history',
|
||||
payload,
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user