@adobe/spacecat-shared-utils 1.23.5 → 1.23.6
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.23.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.23.5...@adobe/spacecat-shared-utils-v1.23.6) (2024-12-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **sqs-wrapper:** decrease error log level ([#483](https://github.com/adobe/spacecat-shared/issues/483)) ([2c7bc99](https://github.com/adobe/spacecat-shared/commit/2c7bc998d0d137b24ca84356a4445a76e63053e3))
|
|
7
|
+
|
|
1
8
|
# [@adobe/spacecat-shared-utils-v1.23.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-utils-v1.23.4...@adobe/spacecat-shared-utils-v1.23.5) (2024-12-07)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/sqs.js
CHANGED
|
@@ -96,7 +96,7 @@ export function sqsEventAdapter(fn) {
|
|
|
96
96
|
message = JSON.parse(records[0]?.body);
|
|
97
97
|
log.info(`Received message with id: ${records[0]?.messageId}`);
|
|
98
98
|
} catch (e) {
|
|
99
|
-
log.
|
|
99
|
+
log.warn('Function was not invoked properly, message body is not a valid JSON', e);
|
|
100
100
|
return new Response('', {
|
|
101
101
|
status: 400,
|
|
102
102
|
headers: {
|