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:
vchske
2026-06-03 10:53:19 -07:00
committed by GitHub
parent e22a052d59
commit 4ad840c0c1
4 changed files with 8 additions and 5 deletions
@@ -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) }];
}
}