Skip to content

Commit 47aea1d

Browse files
Version Packages (#82)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 0a42572 commit 47aea1d

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

.changeset/weak-owls-crash.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"entryPoint": "packages/hooks/src/index.ts",
3131
"template": "oss-npm-package",
3232
"type": "package",
33-
"version": "9.0.1"
33+
"version": "9.1.0"
3434
}
3535
}

packages/infra/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# @seek/aws-codedeploy-infra
22

3+
## 2.1.3
4+
5+
### Patch Changes
6+
7+
- **HookStack:** Improve logging on Lambda function errors ([#81](https://github.com/seek-oss/aws-codedeploy-hooks/pull/81))
8+
9+
When the `BeforeAllowTraffic` hook invokes your Lambda function and receives a `FunctionError` back, it now logs additional information from the response payload to aid troubleshooting:
10+
11+
```diff
12+
{
13+
"err": {
14+
"message": "Lambda function responded with error: Unhandled",
15+
+ "payload": {
16+
+ "errorMessage": "RequestId: 00000000-0000-0000-0000-000000000000 Error: Task timed out after 1.00 seconds",
17+
+ "errorType": "Sandbox.Timedout"
18+
+ },
19+
"stack": "Error: Lambda function responded with error: Unhandled...",
20+
"type": "Error"
21+
},
22+
"level": 50,
23+
"msg": "Failed to process lifecycle event"
24+
}
25+
```
26+
327
## 2.1.2
428

529
### Patch Changes

packages/infra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@seek/aws-codedeploy-infra",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"private": false,
55
"description": "AWS CDK infrastructure for AWS CodeDeploy Hooks",
66
"homepage": "https://github.com/seek-oss/aws-codedeploy-hooks/tree/main/packages/infra#readme",

0 commit comments

Comments
 (0)