Skip to content

Commit

Permalink
include feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bourbonkk authored and ocelotl committed Dec 22, 2023
1 parent 01adf91 commit aa1d5fb
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,7 @@ def response_hook(span: Span, status: str, response_headers: List):
from importlib import metadata
except ImportError:
import importlib_metadata as metadata
try:
flask_version = metadata.version("flask")
except (ImportError, metadata.PackageNotFoundError):
flask_version = "unknown"
flask_version = metadata.version("flask")

from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
from opentelemetry.instrumentation.propagators import (
Expand Down

0 comments on commit aa1d5fb

Please sign in to comment.