We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
error_handler
1 parent 64e20d6 commit 0253d5fCopy full SHA for 0253d5f
CHANGELOG.md
@@ -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
7
## [1.1.1] - 2023-04-16
8
9
### Fixed
lib/lambda_punch.rb
@@ -51,6 +51,7 @@ def handled!(context)
51
def error_handler
52
@error_handler ||= lambda do |e|
53
logger.error "Queue#call::error => #{e.message}"
54
+ logger.error e.backtrace[0..10].join("\n")
55
end
56
57
lib/lambda_punch/version.rb
@@ -1,3 +1,3 @@
module LambdaPunch
- VERSION = "1.1.1"
+ VERSION = "1.1.2"
0 commit comments