@gus-eip/loggers 3.4.2 → 3.4.4

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.
@@ -105,7 +105,7 @@ let CloudWatchLoggerService = class CloudWatchLoggerService {
105
105
  },
106
106
  {
107
107
  "name": "Log link:",
108
- "value": `[Click here for more details](https://eu-west-1.console.aws.amazon.com/cloudwatch/home?region=eu-west-1#logsV2:log-groups/log-group/${this.logGroupName}/log-events/${encodeURIComponent(logStreamName)})`
108
+ "value": `[Click here for more details](https://eu-west-1.console.aws.amazon.com/cloudwatch/home?region=eu-west-1#logsV2:log-groups/log-group/${this.logGroupName}/log-events/${logStreamName})`
109
109
  },
110
110
  ],
111
111
  "markdown": true
@@ -171,7 +171,7 @@ let CloudWatchLoggerService = class CloudWatchLoggerService {
171
171
  };
172
172
  await this.logToCloudWatch('error', logObject, logStreamName);
173
173
  if (this.isAlertNeeded) {
174
- await this.sendAlerttoTeams(errorMessage, component, logObject, logStreamName);
174
+ await this.sendAlerttoTeams(errorMessage, component, logObject, encodeURIComponent(logStreamName));
175
175
  }
176
176
  }
177
177
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gus-eip/loggers",
3
- "version": "3.4.2",
3
+ "version": "3.4.4",
4
4
  "description": "@gus-eip/loggers is a package designed to provide logging functionality for your Node.js applications.",
5
5
  "author": "gus",
6
6
  "readmeFilename": "README.md",