1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(errors): surface react docker errors to front end [EE-7053] (#11726)

Co-authored-by: testa113 <testa113>
This commit is contained in:
Ali 2024-05-13 15:34:00 +12:00 committed by GitHub
parent 55667a878a
commit 6b5a402962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 107 additions and 142 deletions

View file

@ -13,7 +13,7 @@ export async function getVersion(environmentId: EnvironmentId) {
);
return data;
} catch (err) {
throw parseAxiosError(err as Error, 'Unable to retrieve version');
throw parseAxiosError(err, 'Unable to retrieve version');
}
}