Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3353528
D3961.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
872 B
Referenced Files
None
Subscribers
None
D3961.diff
View Options
diff --git a/services/identity/src/database.rs b/services/identity/src/database.rs
--- a/services/identity/src/database.rs
+++ b/services/identity/src/database.rs
@@ -75,7 +75,7 @@
"DynamoDB client failed to get registration data for user {}: {}",
user_id, e
);
- Err(Error::Rusoto(e))
+ Err(Error::RusotoGet(e))
}
}
}
@@ -154,7 +154,7 @@
"DynamoDB client failed to get token for user {} on device {}: {}",
user_id, device_id, e
);
- Err(Error::Rusoto(e))
+ Err(Error::RusotoGet(e))
}
}
}
@@ -165,7 +165,9 @@
)]
pub enum Error {
#[display(...)]
- Rusoto(RusotoError<GetItemError>),
+ RusotoGet(RusotoError<GetItemError>),
+ #[display(...)]
+ RusotoPut(RusotoError<PutItemError>),
#[display(...)]
Pake(ProtocolError),
#[display(...)]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 10:09 AM (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2574963
Default Alt Text
D3961.diff (872 B)
Attached To
Mode
D3961: [Identity] Add new Error variant
Attached
Detach File
Event Timeline
Log In to Comment