| Index: dashboard/dashboard/static/series_group.html
|
| diff --git a/dashboard/dashboard/static/series_group.html b/dashboard/dashboard/static/series_group.html
|
| index 07337ded114f8f824cf9caaac8e8d635b062672e..b82d1066a5c2adec7855c4ed677710e56424f76e 100644
|
| --- a/dashboard/dashboard/static/series_group.html
|
| +++ b/dashboard/dashboard/static/series_group.html
|
| @@ -53,8 +53,13 @@ tr.exportTo('d', function() {
|
| const unselectedTests = simple_xhr.asPromise(
|
| 'list_tests', unselectedParams);
|
|
|
| + // TODO(eakuefner): Make this error handling better. See
|
| + // https://github.com/catapult-project/catapult/issues/3391.
|
| return Promise.all([selectedTests, unselectedTests]).then(
|
| - tests => new SeriesGroup(mainPath, ...tests));
|
| + tests => new SeriesGroup(mainPath, ...tests),
|
| + reason => {
|
| + throw new Error(reason);
|
| + });
|
| };
|
|
|
| /**
|
| @@ -76,7 +81,7 @@ tr.exportTo('d', function() {
|
| return {
|
| type: 'test_path_dict',
|
| test_path_dict: JSON.stringify(testPathDict(...legacyChartStateElement)),
|
| - selected: selectedStr
|
| + return_selected: selectedStr
|
| };
|
| }
|
|
|
|
|