chore(): Update module provider retrieval error message and type (#10138)

Partially RESOLVES FRMW-2802

**What**
Improve error message and change the error type when retrieving a provider from a local container fail
This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-11-19 11:19:19 +00:00
1 parent 661ea7865c
commit 7aa990795c
12 files changed
+94 -24

No files matched your search

@@ -84,7 +84,8 @@ moduleIntegrationTestRunner({
expect(err).toEqual({
success: false,
error: "Could not find a auth provider with id: facebook",
error:
"\n Unable to retrieve the auth provider with id: facebook\n Please make sure that the provider is registered in the container and it is configured correctly in your project configuration file.\n ",
})
})