Handle Grafana server bind errors gracefuly. (#4241)

* Fix error handling for grafana sever start.

* Update client/grafana-data-source/src/server.rs

Co-Authored-By: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
Tomasz Drwięga
2019-11-28 12:16:54 +01:00
committed by Gavin Wood
parent 2f35d7f003
commit f78b83e363
4 changed files with 49 additions and 8 deletions
@@ -7,6 +7,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
[dependencies]
log = "0.4.8"
hyper = { version = "0.13.0-alpha.4", default-features = false, features = ["unstable-stream"] }
tokio-io = "0.2.0-alpha.6"
tokio-executor = "0.2.0-alpha.6"