feat: enhanced error handling ui (#3021)

* feat: better error handling

* better error handling

* try to fix netlify build

* remove new line
This commit is contained in:
Alireza authored and GitHub committed 2022-11-16 20:27:24 -05:00
1 parent 83ea228d86
commit eddd510a35
8 files changed
+73 -39

No files matched your search

@@ -498,8 +498,7 @@ class MeasurementService {
measurement.source = source;
} catch (error) {
throw new Error(
`Failed to map '${sourceInfo}' measurement for annotationType ${annotationType}:`,
error.message
`Failed to map '${sourceInfo}' measurement for annotationType ${annotationType}: ${error.message}`
);
}