Skip to content

Commit

Permalink
Remove 'The'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki authored Jun 3, 2024
1 parent bd4c71f commit 6655b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logfire/_internal/integrations/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from opentelemetry.instrumentation.django import DjangoInstrumentor
except ModuleNotFoundError:
raise RuntimeError(
'The `logfire.instrument_django()` requires the `opentelemetry-instrumentation-django` package.\n'
'logfire.instrument_django()` requires the `opentelemetry-instrumentation-django` package.\n'
'You can install this with:\n'
" pip install 'logfire[django]'"
)
Expand Down
2 changes: 1 addition & 1 deletion tests/otel_integrations/test_django.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_missing_opentelemetry_dependency() -> None:
with pytest.raises(RuntimeError) as exc_info:
importlib.reload(logfire._internal.integrations.django)
assert str(exc_info.value) == snapshot("""\
The `logfire.instrument_django()` requires the `opentelemetry-instrumentation-django` package.
`logfire.instrument_django()` requires the `opentelemetry-instrumentation-django` package.
You can install this with:
pip install 'logfire[django]'\
""")

0 comments on commit 6655b8f

Please sign in to comment.