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 2a885f1 commit eadcb28
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 eadcb28

Please sign in to comment.