Skip to content

Commit

Permalink
The to now rescue errors. Fixes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Jun 9, 2024
1 parent 77e05e3 commit 5e167fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.1.4] - 2024-06-09

### Changed

- The `LambdaPunch.start_server!` to now rescue `Errno::EADDRINUSE` errors.

## [1.1.3] - 2023-04-22

### Added
Expand Down
1 change: 1 addition & 0 deletions lib/lambda_punch/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def start!
def initialize
@queue = Queue.new
DRb.start_service self.class.uri, @queue
rescue Errno::EADDRINUSE
end

end
Expand Down
2 changes: 1 addition & 1 deletion lib/lambda_punch/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module LambdaPunch
VERSION = "1.1.3"
VERSION = "1.1.4"
end

0 comments on commit 5e167fd

Please sign in to comment.