mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Panel: Show error in edit mode (#18175)
- the error was set, but has not been shown - this change will force a digest before the query promises return with their error handling
This commit is contained in:
@@ -110,8 +110,10 @@ class MetricsPanelCtrl extends PanelCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
this.events.emit('data-error', err);
|
||||
console.log('Panel data error:', err);
|
||||
return this.$timeout(() => {
|
||||
this.events.emit('data-error', err);
|
||||
});
|
||||
}
|
||||
|
||||
// Updates the response with information from the stream
|
||||
|
||||
Reference in New Issue
Block a user