CEC-4543 - Add location to digital twin map (#376)

This commit is contained in:
Paul Adamsen
2023-06-26 19:33:44 -04:00
committed by GitHub
parent 12bf0be05d
commit 26eb084da5
5 changed files with 34 additions and 13 deletions

View File

@@ -105,7 +105,7 @@ export const VehicleProvider = ({ children }) => {
setBusy(true);
const result = await api.getLocations(token);
if (result.error)
throw new Error(`Get locations vehicle paths error. ${result.message}`);
throw new Error(`Get locations error. ${result.message}`);
return result;
} finally {
setBusy(false);