Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (app *App) Run(ctx context.Context) error {
}

if event.EventType == extension.Shutdown {
app.logger.Info("Received shutdown event, exiting...")
app.logger.Infof("Received shutdown event: %s. Exiting...", event.ShutdownReason)
return nil
}
app.logger.Debug("Waiting for background data send to end")
Expand Down
1 change: 1 addition & 0 deletions extension/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type RegisterResponse struct {
type NextEventResponse struct {
Timestamp time.Time `json:"timestamp,omitempty"`
EventType EventType `json:"eventType"`
ShutdownReason string `json:"shutdownReason,omitempty"`
DeadlineMs int64 `json:"deadlineMs"`
RequestID string `json:"requestId"`
InvokedFunctionArn string `json:"invokedFunctionArn"`
Expand Down