Skip to content

Commit 5dd8c9e

Browse files
authored
fix: typo in exception message for ImproperlyConfiguredException (litestar-org#3885)
1 parent c6afbea commit 5dd8c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litestar/di.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(
5454
sync_to_thread: Run sync code in an async thread. Defaults to False.
5555
"""
5656
if not callable(dependency):
57-
raise ImproperlyConfiguredException("Provider dependency must a callable value")
57+
raise ImproperlyConfiguredException("Provider dependency must be a callable value")
5858

5959
is_class_dependency = isclass(dependency)
6060
self.has_sync_generator_dependency = isgeneratorfunction(

0 commit comments

Comments
 (0)