@adobe/spacecat-shared-utils 1.30.3 → 1.30.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.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/sqs.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@adobe/spacecat-shared-utils-v1.30.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.30.3...@adobe/spacecat-shared-utils-v1.30.4) (2025-02-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* log level adjustments ([#597](https://github.com/adobe/spacecat-shared/issues/597)) ([22cc302](https://github.com/adobe/spacecat-shared/commit/22cc302bd1d9d52f6f172748ef8be66dceff599b))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-utils-v1.30.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.30.2...@adobe/spacecat-shared-utils-v1.30.3) (2025-02-11)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/sqs.js
CHANGED
|
@@ -117,7 +117,7 @@ export function sqsEventAdapter(fn) {
|
|
|
117
117
|
|
|
118
118
|
try {
|
|
119
119
|
message = JSON.parse(record.body);
|
|
120
|
-
log.
|
|
120
|
+
log.debug(`Received message with id: ${record.messageId}`);
|
|
121
121
|
} catch (e) {
|
|
122
122
|
log.warn('Function was not invoked properly, message body is not a valid JSON', e);
|
|
123
123
|
return badRequest('Event does not contain a valid message body');
|