should fix admin e2e test

This commit is contained in:
Henry Jameson 2026-06-23 18:26:01 +03:00
commit ab34412a2e
4 changed files with 17 additions and 15 deletions

View file

@ -132,6 +132,7 @@ export const promisedRequest = async ({
)
}
} catch (error) {
if (error.name === 'StatusCodeError') throw error
throw new Error(error, { url, options }, response)
}
}