Skip to content

Commit

Permalink
Merge pull request #91 from JunoLab/sl/fixes
Browse files Browse the repository at this point in the history
ENH: fix some deprecation warnings
  • Loading branch information
MikeInnes authored Sep 22, 2017
2 parents e6b64d7 + 971f44a commit 5d41efb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
julia 0.5-
WebSockets
WebSockets 0.2.3
HttpServer
Lazy 0.11.3
JSON
Expand Down
2 changes: 1 addition & 1 deletion src/AtomShell/process.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ end

function inspector(port)
inspector()
run(`open http://localhost:8080/debug?port=$port`)
run(`open http://localhost:8080/debug'?'port=$port`)
end

# atom-shell
Expand Down
2 changes: 1 addition & 1 deletion src/content/server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function ws_handler(req)
try
data = read(client)
catch e
if isa(e, ArgumentError) && contains(e.msg, "closed")
if (isa(e, ArgumentError) && contains(e.msg, "closed")) || isa(e, WebSockets.WebSocketClosedError)
handle_message(p, d("type"=>"close", "data"=>nothing))
yield() # Prevents an HttpServer task error (!?)
return
Expand Down

0 comments on commit 5d41efb

Please sign in to comment.