chore: Expose Awilix resolution errors (#13008)

Co-authored-by: Trevor N. <trevor@pegasuscart.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-07-22 10:44:17 +02:00
1 parent 44ee9a06ba
commit 74f86c95b1
6 files changed
+24

No files matched your search

@@ -35,6 +35,10 @@ export default class AuthProviderService {
const errMessage = `
Unable to retrieve the auth provider with id: ${providerId}
Please make sure that the provider is registered in the container and it is configured correctly in your project configuration file.`
// Log full error for debugging
this.#logger.error(`AwilixResolutionError: ${err.message}`, err)
throw new Error(errMessage)
}