Skip to content

Commit 6ac9e98

Browse files
author
Filip Nikolovski
committed
run tox -e generate; fix typo
1 parent 59586fd commit 6ac9e98

File tree

2 files changed

+2
-2
lines changed
  • instrumentation

2 files changed

+2
-2
lines changed

instrumentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949
| [opentelemetry-instrumentation-tortoiseorm](./opentelemetry-instrumentation-tortoiseorm) | tortoise-orm >= 0.17.0 | No | experimental
5050
| [opentelemetry-instrumentation-urllib](./opentelemetry-instrumentation-urllib) | urllib | Yes | migration
5151
| [opentelemetry-instrumentation-urllib3](./opentelemetry-instrumentation-urllib3) | urllib3 >= 1.0.0, < 3.0.0 | Yes | migration
52-
| [opentelemetry-instrumentation-wsgi](./opentelemetry-instrumentation-wsgi) | wsgi | Yes | migration
52+
| [opentelemetry-instrumentation-wsgi](./opentelemetry-instrumentation-wsgi) | wsgi | Yes | migration

instrumentation/opentelemetry-instrumentation-falcon/src/opentelemetry/instrumentation/falcon/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ def process_response(self, req, resp, resource, req_succeeded=None): # pylint:d
524524
if exc_type and not req_succeeded:
525525
if "HTTPNotFound" in exc_type.__name__:
526526
status = "404"
527-
elif isinstance(exc, falcon.HTTPError, falcon.HTTPStatus):
527+
elif isinstance(exc, (falcon.HTTPError, falcon.HTTPStatus)):
528528
try:
529529
status = exc.title.split(" ")[0]
530530
except ValueError:

0 commit comments

Comments
 (0)