Skip to content

Commit

Permalink
fix: logging for unhandled exceptions in handler (#1604)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk authored Oct 27, 2022
1 parent 468dc98 commit 43dfea4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lambda/handler-runner/HandlerRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export default class HandlerRunner {
log.error(
`Unhandled exception in handler '${this.#funOptions.functionKey}'.`,
)

log.error(err)

throw err
}
}
Expand Down

0 comments on commit 43dfea4

Please sign in to comment.