Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0253d5f

Browse files
The error_handler will now print the first 10 lines of a stack trace.
1 parent 64e20d6 commit 0253d5f

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

‎CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.1.2] - 2023年04月22日
2+
3+
### Added
4+
5+
- The `error_handler` will now print the first 10 lines of a stack trace.
6+
17
## [1.1.1] - 2023年04月16日
28

39
### Fixed

‎lib/lambda_punch.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def handled!(context)
5151
def error_handler
5252
@error_handler ||= lambda do |e|
5353
logger.error "Queue#call::error => #{e.message}"
54+
logger.error e.backtrace[0..10].join("\n")
5455
end
5556
end
5657

‎lib/lambda_punch/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module LambdaPunch
2-
VERSION = "1.1.1"
2+
VERSION = "1.1.2"
33
end

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /