ethresearch / sharding-p2p-poc

Proof of Concept of Ethereum Serenity Peer-to-Peer Layer on libp2p PubSub System
40 stars 19 forks source link

Fix nil tracer #99

Closed NIC619 closed 5 years ago

NIC619 commented 5 years ago

What was wrong?

Tracer config takes in ENV variables JAEGER_AGENT_HOST and JAEGER_AGENT_PORT but it was presumed that these ENV variables will be passed in. And hence tracer will fail to initialize if the variables are not passed in. Secondly, global tracer is set even if tracer fails to initialize.

Cute Animal Picture