Skip to content

Commit 5e167fd

Browse files
committed
The to now rescue errors. Fixes #18
1 parent 77e05e3 commit 5e167fd

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [1.1.4] - 2024-06-09
2+
3+
### Changed
4+
5+
- The `LambdaPunch.start_server!` to now rescue `Errno::EADDRINUSE` errors.
6+
17
## [1.1.3] - 2023-04-22
28

39
### Added

lib/lambda_punch/server.rb

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def start!
2020
def initialize
2121
@queue = Queue.new
2222
DRb.start_service self.class.uri, @queue
23+
rescue Errno::EADDRINUSE
2324
end
2425

2526
end

lib/lambda_punch/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module LambdaPunch
2-
VERSION = "1.1.3"
2+
VERSION = "1.1.4"
33
end

0 commit comments

Comments
 (0)