diff --git a/litestar/di.py b/litestar/di.py index 52a9adb3a1..b47f13478f 100644 --- a/litestar/di.py +++ b/litestar/di.py @@ -54,7 +54,7 @@ def __init__( sync_to_thread: Run sync code in an async thread. Defaults to False. """ if not callable(dependency): - raise ImproperlyConfiguredException("Provider dependency must a callable value") + raise ImproperlyConfiguredException("Provider dependency must be a callable value") is_class_dependency = isclass(dependency) self.has_sync_generator_dependency = isgeneratorfunction(