@adobe/spacecat-shared-utils 1.90.1 → 1.90.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [@adobe/spacecat-shared-utils-v1.90.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.90.1...@adobe/spacecat-shared-utils-v1.90.2) (2026-02-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add more logs to simplify tracing issues ([#1321](https://github.com/adobe/spacecat-shared/issues/1321)) ([2e07c68](https://github.com/adobe/spacecat-shared/commit/2e07c680c6bff8c504f81b14376691787697adf2))
7
+
1
8
  # [@adobe/spacecat-shared-utils-v1.90.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.90.0...@adobe/spacecat-shared-utils-v1.90.1) (2026-01-29)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-utils",
3
- "version": "1.90.1",
3
+ "version": "1.90.2",
4
4
  "description": "Shared modules of the Spacecat Services - utils",
5
5
  "type": "module",
6
6
  "exports": {
package/src/sqs.js CHANGED
@@ -96,10 +96,12 @@ class SQS {
96
96
 
97
97
  try {
98
98
  const data = await this.sqsClient.send(msgCommand);
99
- this.log.debug(`Success, message sent. MessageID: ${data.MessageId}${body.traceId ? `, TraceID: ${body.traceId}` : ''}`);
99
+ const queueName = queueUrl?.split('/').pop() || 'unknown';
100
+ const messageType = body.type || 'unknown';
101
+ this.log.info(`Success, message sent. Queue: ${queueName}, Type: ${messageType}, MessageID: ${data.MessageId}${body.traceId ? `, TraceID: ${body.traceId}` : ''}`);
100
102
  } catch (e) {
101
103
  const { type, code, message: msg } = e;
102
- this.log.error(`Message sent failed. Type: ${type}, Code: ${code}, Message: ${msg}`);
104
+ this.log.error(`Message send failed. Type: ${type}, Code: ${code}, Message: ${msg}`, e);
103
105
  throw e;
104
106
  }
105
107
  }