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:
committed by
GitHub
parent
661ea7865c
commit
7aa990795c
@@ -6,6 +6,7 @@ import {
|
||||
Context,
|
||||
DAL,
|
||||
InternalModuleDeclaration,
|
||||
Logger,
|
||||
ModuleJoinerConfig,
|
||||
ModulesSdkTypes,
|
||||
} from "@medusajs/framework/types"
|
||||
@@ -24,6 +25,7 @@ type InjectedDependencies = {
|
||||
authIdentityService: ModulesSdkTypes.IMedusaInternalService<any>
|
||||
providerIdentityService: ModulesSdkTypes.IMedusaInternalService<any>
|
||||
authProviderService: AuthProviderService
|
||||
logger?: Logger
|
||||
}
|
||||
export default class AuthModuleService
|
||||
extends MedusaService<{
|
||||
|
||||
Reference in New Issue
Block a user