You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/09/21 23:25:54 UTC

[whimsy] branch master updated: ignore EOF on shutdown

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new ed53a6e  ignore EOF on shutdown
ed53a6e is described below

commit ed53a6e0ebe3498c5355b71b9fb11cb73296b6b6
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Thu Sep 21 19:25:42 2017 -0400

    ignore EOF on shutdown
---
 www/board/agenda/spec/vue_server.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/board/agenda/spec/vue_server.rb b/www/board/agenda/spec/vue_server.rb
index 0c4a3b9..6c8744d 100644
--- a/www/board/agenda/spec/vue_server.rb
+++ b/www/board/agenda/spec/vue_server.rb
@@ -61,7 +61,7 @@ class VueServer
       request = Net::HTTP::Post.new('/', {})
       request.body = "response.end('bye'); process.exit(0)"
       response = http.request(request)
-    rescue Errno::ECONNREFUSED
+    rescue Errno::ECONNREFUSED, EOFError
       nil
     ensure
       Process.wait(@@pid)

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].