Skip to content

Commit b14ed67

Browse files
committed
fix imports
1 parent 09d4367 commit b14ed67

File tree

2 files changed

+4
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware
  • util/opentelemetry-util-http/src/opentelemetry/util/http

2 files changed

+4
-0
lines changed

instrumentation/opentelemetry-instrumentation-django/src/opentelemetry/instrumentation/django/middleware/otel_middleware.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ def process_exception(self, request, exception):
320320
# pylint: disable=too-many-branches
321321
# pylint: disable=too-many-locals
322322
def process_response(self, request, response):
323+
breakpoint()
324+
raise Exception('abc')
323325
if self._excluded_urls.url_disabled(request.build_absolute_uri("?")):
324326
return response
325327

util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from __future__ import annotations
16+
1517
from os import environ
1618
from re import IGNORECASE as RE_IGNORECASE
1719
from re import compile as re_compile

0 commit comments

Comments
 (0)