We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 981b831 commit 9a8e367Copy full SHA for 9a8e367
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "aws_packages"
3
-version = "0.0.17"
+version = "0.0.18"
4
edition = "2021"
5
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
aws_packages/auth/solana/middlewares.py
@@ -22,6 +22,6 @@ def solana_login_required(
22
request = AuthorizationRequest(**app.current_event.headers)
23
try:
24
solana_auth_backend.authenticate_with_token(request.token)
25
- except JWTAuthError:
26
- raise UnauthorizedError(f"Unauthorized")
+ except Exception as exc:
+ raise UnauthorizedError(f"Unauthorized: {exc}")
27
return next_middleware(app)
0 commit comments