Console.error with unused error

pull/93271/head
Tom Ratcliffe 10 months ago
parent 843329bd04
commit 28689a8a95
  1. 5
      public/app/features/alerting/unified/components/rule-editor/QueryRows.tsx

@ -171,6 +171,11 @@ export class QueryRows extends PureComponent<Props> {
error = errorFromPreviewData(data);
}
if (error) {
// TODO: use error correctly
console.error(error);
}
if (!dsSettings) {
return (
<DatasourceNotFound

Loading…
Cancel
Save