Page MenuHomePhabricator

D3961.diff
No OneTemporary

D3961.diff

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

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)

Event Timeline