mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Datasource Config: Return error object on failed updates (#88661)
feat(datasource-config): return error if ds update fails
This commit is contained in:
parent
90c3d74955
commit
3bfa1ed9ed
@ -277,7 +277,7 @@ export function updateDataSource(dataSource: DataSourceSettings) {
|
||||
|
||||
dispatch(testDataSourceFailed(formattedError));
|
||||
|
||||
return Promise.reject(dataSource);
|
||||
return Promise.reject(err);
|
||||
}
|
||||
|
||||
await getDatasourceSrv().reload();
|
||||
|
Loading…
Reference in New Issue
Block a user