Skip to content

Commit 488db0e

Browse files
MehakBindraCopilot
andauthored
Update packages/apps/src/microsoft/teams/apps/http_plugin.py
Co-authored-by: Copilot <[email protected]>
1 parent 91b2178 commit 488db0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apps/src/microsoft/teams/apps/http_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async def combined_lifespan(app: Starlette):
118118
if server_factory:
119119
self._server = server_factory(self.app)
120120
if self._server.config.app is not self.app:
121-
raise ValueError("The server was created with a different app than the one provided.")
121+
raise ValueError("server_factory must return a uvicorn.Server configured with the provided FastAPI app instance.")
122122

123123
# Add JWT validation middleware
124124
if app_id and not skip_auth:

0 commit comments

Comments
 (0)