MOBILE-3833 compile: Increase log severity of inject error
parent
0bc6568f1f
commit
e0309cf320
|
@ -325,7 +325,7 @@ export class CoreCompileProvider {
|
||||||
// Inject the provider to the instance. We use the class name as the property name.
|
// Inject the provider to the instance. We use the class name as the property name.
|
||||||
instance[providerDef.name.replace(/DelegateService$/, 'Delegate')] = this.injector.get(providerDef);
|
instance[providerDef.name.replace(/DelegateService$/, 'Delegate')] = this.injector.get(providerDef);
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
this.logger.warn('Error injecting provider', providerDef.name, ex);
|
this.logger.error('Error injecting provider', providerDef.name, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue