deploy-agent 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deploy_agent/destination_connection.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fabf21134da24a6c3a0e705f251796822e0ac92
|
4
|
+
data.tar.gz: b604919b01e5af9f279ab6b5b5a9ba2bcc38d957
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7f145767229dad5eaebd8a7bbb4f80dae6e3f79a18573a10fe21dd31c4526918fc62461cfb63f2eb60ed900d406bceca20aaee13cb3573364640d559eaf9672
|
7
|
+
data.tar.gz: 8d4246315146209663771135504bd8508ed6030cd17f6e5f3858405842c13b59e439b5eaa188c1bedbfb69b4b965538a7db3bb685c78b4869d800bd8d07fe30a
|
@@ -53,6 +53,9 @@ module DeployAgent
|
|
53
53
|
# This shouldn't happen. If it does, ignore it and
|
54
54
|
# wait a bit longer until the connection completes
|
55
55
|
return
|
56
|
+
rescue Errno::EISCONN
|
57
|
+
# Sometimes this exception is raised when we're
|
58
|
+
# connected (OSX). It represents success.
|
56
59
|
rescue => e
|
57
60
|
@agent.logger.info "[#{@id}] Connection failed: #{e.message.to_s}"
|
58
61
|
# Something went wrong connecting, inform the Deploy Server
|
@@ -60,7 +63,7 @@ module DeployAgent
|
|
60
63
|
@server_connection.send_connection_error(@id, e.message.to_s)
|
61
64
|
return
|
62
65
|
end
|
63
|
-
|
66
|
+
@agent.logger.info "[#{@id}] Connected to destination"
|
64
67
|
@server_connection.send_connection_success(@id)
|
65
68
|
@status = :connected
|
66
69
|
end
|