opticore-catch-exception-error 1.0.22 → 1.0.24
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.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -191,7 +191,7 @@ var ServerListenEventError = class {
|
|
|
191
191
|
*/
|
|
192
192
|
hostPortUndefined(appPort) {
|
|
193
193
|
this.stackTrace = this.traceError(
|
|
194
|
-
import_opticore_translator2.TranslationLoader.t("
|
|
194
|
+
import_opticore_translator2.TranslationLoader.t("errorPort", this.localeLanguage),
|
|
195
195
|
import_opticore_translator2.TranslationLoader.t("listening", this.localeLanguage),
|
|
196
196
|
import_opticore_http_response2.HttpStatusCode.BAD_REQUEST
|
|
197
197
|
);
|
|
@@ -210,7 +210,7 @@ var ServerListenEventError = class {
|
|
|
210
210
|
*/
|
|
211
211
|
hostUndefined(appHost) {
|
|
212
212
|
this.stackTrace = this.traceError(
|
|
213
|
-
import_opticore_translator2.TranslationLoader.t("
|
|
213
|
+
import_opticore_translator2.TranslationLoader.t("errorHostUrl", this.localeLanguage, { badHost: appHost }),
|
|
214
214
|
import_opticore_translator2.TranslationLoader.t("listening", this.localeLanguage),
|
|
215
215
|
import_opticore_http_response2.HttpStatusCode.BAD_REQUEST
|
|
216
216
|
);
|
package/dist/index.js
CHANGED
|
@@ -141,7 +141,7 @@ var ServerListenEventError = class {
|
|
|
141
141
|
*/
|
|
142
142
|
hostPortUndefined(appPort) {
|
|
143
143
|
this.stackTrace = this.traceError(
|
|
144
|
-
TranslationLoader2.t("
|
|
144
|
+
TranslationLoader2.t("errorPort", this.localeLanguage),
|
|
145
145
|
TranslationLoader2.t("listening", this.localeLanguage),
|
|
146
146
|
status.BAD_REQUEST
|
|
147
147
|
);
|
|
@@ -160,7 +160,7 @@ var ServerListenEventError = class {
|
|
|
160
160
|
*/
|
|
161
161
|
hostUndefined(appHost) {
|
|
162
162
|
this.stackTrace = this.traceError(
|
|
163
|
-
TranslationLoader2.t("
|
|
163
|
+
TranslationLoader2.t("errorHostUrl", this.localeLanguage, { badHost: appHost }),
|
|
164
164
|
TranslationLoader2.t("listening", this.localeLanguage),
|
|
165
165
|
status.BAD_REQUEST
|
|
166
166
|
);
|