Prevent crash when Exporter is not TracerDelegate
There is no enforcing Exporter + TracerDelegate via type system nor by rigorous runtime checking. Thus the code previously crashed since `withTracerDelegate` (nor any callers) check whether embedded `TracerDelegate` is `nil`. Now only passes `withTracerDelegate` if it can actually be called. Signed-off-by: Andreas Bergmeier <abergmeier@gmx.net>pull/925/head
parent
11b771c789
commit
e4b4594fb4
Loading…
Reference in New Issue