@adobe/spacecat-shared-utils 1.90.1 → 1.90.3
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 +14 -0
- package/package.json +1 -1
- package/src/schemas.js +1 -0
- package/src/sqs.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-utils-v1.90.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.90.2...@adobe/spacecat-shared-utils-v1.90.3) (2026-02-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add category id in deletedPrompt field ([#1325](https://github.com/adobe/spacecat-shared/issues/1325)) ([8c47acc](https://github.com/adobe/spacecat-shared/commit/8c47accf90c523d4234d2bb50e50072290e59f89))
|
|
7
|
+
|
|
8
|
+
# [@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)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* 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))
|
|
14
|
+
|
|
1
15
|
# [@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
16
|
|
|
3
17
|
|
package/package.json
CHANGED
package/src/schemas.js
CHANGED
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
|
-
|
|
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
|
|
104
|
+
this.log.error(`Message send failed. Type: ${type}, Code: ${code}, Message: ${msg}`, e);
|
|
103
105
|
throw e;
|
|
104
106
|
}
|
|
105
107
|
}
|