openzipkin/zipkin-js

Errors thrown by zipkin bubbles all the way to the top

Open

#424 opened on Jul 25, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (167 forks)auto 404
help wanted

Repository metrics

Stars
 (569 stars)
PR merge metrics
 (PR metrics pending)

Description

When using zipkin-instrumentation-restify, an error that was being thrown in zipkin bubbled up all the way to the top, and out of the middleware, which causes the server to crash.

The error should be handled gracefully and not cause errors to be thrown out of the middleware.

This issue was also raised in #422 (direct quote link)

Contributor guide