opticore-catch-exception-error 1.0.14 → 1.0.15

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 CHANGED
@@ -718,11 +718,10 @@ var ServerListenEventError = class {
718
718
  /**
719
719
  *
720
720
  * @param signal
721
- * @param defaultLocalLang
722
721
  */
723
- sigtermSignalReceived(signal, defaultLocalLang) {
722
+ sigtermSignalReceived(signal) {
724
723
  this.stackTrace = this.traceError(
725
- import_opticore_translator2.TranslationLoader.t("processPIDReceivedSignal", defaultLocalLang, { signal: signal.toString() }),
724
+ import_opticore_translator2.TranslationLoader.t("processPIDReceivedSignal", this.localeLanguage, { signal: signal.toString() }),
726
725
  "SIGTERM",
727
726
  import_opticore_http_response11.HttpStatusCode.NOT_ACCEPTABLE
728
727
  );
package/dist/index.d.cts CHANGED
@@ -242,9 +242,8 @@ declare class ServerListenEventError {
242
242
  /**
243
243
  *
244
244
  * @param signal
245
- * @param defaultLocalLang
246
245
  */
247
- sigtermSignalReceived(signal: any, defaultLocalLang: string): void;
246
+ sigtermSignalReceived(signal: any): void;
248
247
  /**
249
248
  *
250
249
  */
package/dist/index.d.ts CHANGED
@@ -242,9 +242,8 @@ declare class ServerListenEventError {
242
242
  /**
243
243
  *
244
244
  * @param signal
245
- * @param defaultLocalLang
246
245
  */
247
- sigtermSignalReceived(signal: any, defaultLocalLang: string): void;
246
+ sigtermSignalReceived(signal: any): void;
248
247
  /**
249
248
  *
250
249
  */
package/dist/index.js CHANGED
@@ -638,11 +638,10 @@ var ServerListenEventError = class {
638
638
  /**
639
639
  *
640
640
  * @param signal
641
- * @param defaultLocalLang
642
641
  */
643
- sigtermSignalReceived(signal, defaultLocalLang) {
642
+ sigtermSignalReceived(signal) {
644
643
  this.stackTrace = this.traceError(
645
- TranslationLoader2.t("processPIDReceivedSignal", defaultLocalLang, { signal: signal.toString() }),
644
+ TranslationLoader2.t("processPIDReceivedSignal", this.localeLanguage, { signal: signal.toString() }),
646
645
  "SIGTERM",
647
646
  status11.NOT_ACCEPTABLE
648
647
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opticore-catch-exception-error",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "opticore catch exception error",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",