mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 09:05:45 -06:00
The existing code uses `instanceof Error` to check for a `message` field on the thrown object. The objects that are thrown are never instances of the error interface. This change introduces a new type that extends Error so that the check works properly and displays a meaningful error message in the UI. |
||
---|---|---|
.. | ||
components | ||
services | ||
state | ||
utils | ||
DashboardImportPage.tsx | ||
PublicDashboardListPage.tsx | ||
SnapshotListPage.tsx | ||
types.ts |