Skip to content

Commit

Permalink
modify error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Patrick Kyle committed May 20, 2020
1 parent ef4e03c commit 68e8076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dash.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ function run_server(app::DashApp, host = HTTP.Sockets.localhost, port = 8050;
handler = make_handler(app);
try
task = @async HTTP.serve(handler, host, port)
@info string("Running on http://", host, ":", port)
@info string("HTTP.jl server running on http://", host, ":", port)
wait(task)
catch e
close(task)
if e isa InterruptException
@warn "Interrupted: listen($task)"
@warn string("HTTP.jl server stopped at http://", host, ":", port)
else
rethrow(e)
end
Expand Down

0 comments on commit 68e8076

Please sign in to comment.