Skip to content

Commit 89dda1e

Browse files
committed
Revert change made in a previous commit. AttributeError -> Exception
1 parent c089dae commit 89dda1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/server/apps/jsonrpc/jsonrpc_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def build(self, request: Request) -> ServerCallContext:
132132
"""
133133
user: A2AUser = UnauthenticatedUser()
134134
state = {}
135-
with contextlib.suppress(AttributeError):
135+
with contextlib.suppress(Exception):
136136
user = StarletteUserProxy(request.user)
137137
state['auth'] = request.auth
138138
state['headers'] = dict(request.headers)

0 commit comments

Comments
 (0)