mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-08-10 16:47:13 +01:00
Fixing a github alert (#2506)
* Fixing a github alert, plus converting a couple more JSON.stringify(error) instances to use stringifyError * Using manual concatenation
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { stringifyError } from "Common/stringifyError";
|
||||
import * as DataTables from "datatables.net";
|
||||
import * as ko from "knockout";
|
||||
import Q from "q";
|
||||
@@ -37,7 +38,7 @@ function parseError(err: any): ErrorDataModel[] {
|
||||
try {
|
||||
return _parse(err);
|
||||
} catch (e) {
|
||||
return [<ErrorDataModel>{ message: JSON.stringify(err) }];
|
||||
return [<ErrorDataModel>{ message: stringifyError(err) }];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user