chore: replace throw with error
This commit is contained in:
@@ -225,6 +225,9 @@ export class SNApplication implements ApplicationInterface, AppGroupManagedAppli
|
||||
|
||||
this.dependencies = new Dependencies(this.options)
|
||||
|
||||
const logger = this.dependencies.get<LoggerInterface>(TYPES.Logger)
|
||||
logger.setLevel('error')
|
||||
|
||||
this.registerServiceObservers()
|
||||
|
||||
RegisterApplicationServicesEvents(this.dependencies, this.events)
|
||||
|
||||
@@ -770,6 +770,7 @@ export class Dependencies {
|
||||
this.get<EncryptionOperators>(TYPES.EncryptionOperators),
|
||||
this.get<KeySystemKeyManager>(TYPES.KeySystemKeyManager),
|
||||
this.get<RootKeyManager>(TYPES.RootKeyManager),
|
||||
this.get<Logger>(TYPES.Logger),
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user