grm-shared-library 1.0.13 → 1.0.14

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.
@@ -28,7 +28,7 @@ let AllExceptionsFilter = AllExceptionsFilter_1 = class AllExceptionsFilter {
28
28
  const errorResponse = exception.getError();
29
29
  if (typeof errorResponse === 'string') {
30
30
  customException = new custom_rpc_exception_1.CustomRpcException(errorResponse, error_codes_enum_1.ErrorCodes.UNKNOWN_ERROR, 'An unexpected error occurred', {
31
- service: 'Unknown in Organization-Microservice',
31
+ service: 'unknown service',
32
32
  method: (_a = host.getArgByIndex(1)) === null || _a === void 0 ? void 0 : _a.pattern,
33
33
  payload: (_b = host.getArgByIndex(1)) === null || _b === void 0 ? void 0 : _b.data
34
34
  });
@@ -36,7 +36,7 @@ let AllExceptionsFilter = AllExceptionsFilter_1 = class AllExceptionsFilter {
36
36
  else {
37
37
  const error = errorResponse;
38
38
  customException = new custom_rpc_exception_1.CustomRpcException(error.message || 'Unknown error', error.code || error_codes_enum_1.ErrorCodes.UNKNOWN_ERROR, error.details || undefined, error.context || {
39
- service: 'Unknown in Organization-Microservice',
39
+ service: 'unknown service',
40
40
  method: (_c = host.getArgByIndex(1)) === null || _c === void 0 ? void 0 : _c.pattern,
41
41
  payload: (_d = host.getArgByIndex(1)) === null || _d === void 0 ? void 0 : _d.data
42
42
  });
@@ -44,7 +44,7 @@ let AllExceptionsFilter = AllExceptionsFilter_1 = class AllExceptionsFilter {
44
44
  }
45
45
  else {
46
46
  const context = {
47
- service: 'Unknown in Organization-Microservice',
47
+ service: 'unknown service',
48
48
  method: (_e = host.getArgByIndex(1)) === null || _e === void 0 ? void 0 : _e.pattern,
49
49
  payload: (_f = host.getArgByIndex(1)) === null || _f === void 0 ? void 0 : _f.data
50
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grm-shared-library",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [