monkey-front-core 21.0.20 → 21.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1664,6 +1664,17 @@ class MonkeyEcxDatadogService {
|
|
|
1664
1664
|
this._allSet = true;
|
|
1665
1665
|
this.applyInfoToDataDog();
|
|
1666
1666
|
}
|
|
1667
|
+
if (environment.environment === 'hmg') {
|
|
1668
|
+
const originalLoggerError = datadogLogs.logger.error;
|
|
1669
|
+
datadogLogs.logger.error = (message, messageContext, error) => {
|
|
1670
|
+
console.log('=== MonkeyEcxLogs ===');
|
|
1671
|
+
console.log(message);
|
|
1672
|
+
console.log(messageContext);
|
|
1673
|
+
console.log(error);
|
|
1674
|
+
console.log('=========');
|
|
1675
|
+
originalLoggerError(message, messageContext, error);
|
|
1676
|
+
};
|
|
1677
|
+
}
|
|
1667
1678
|
}
|
|
1668
1679
|
async applyInfoToDataDog() {
|
|
1669
1680
|
try {
|
|
@@ -5576,8 +5587,6 @@ class MonkeyEcxI18nResolver {
|
|
|
5576
5587
|
const locale = this._tokenStorageService.getMe()?.locale || this._localeId;
|
|
5577
5588
|
const path = this._i18nPath;
|
|
5578
5589
|
const host = this.getHost();
|
|
5579
|
-
console.log(this._i18nAlias);
|
|
5580
|
-
console.log(this._i18nPath);
|
|
5581
5590
|
const url = [host || '', `assets/${path}/i18n/${locale}.json`].join(host ? '/' : '');
|
|
5582
5591
|
const cacheKey = `${path}/${locale}`;
|
|
5583
5592
|
const now = Date.now();
|