feat: read receipts

This commit is contained in:
timokoesters 2020-04-11 20:03:22 +02:00
parent ab8c2f1e5e
commit 3b9cadeec2
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
4 changed files with 195 additions and 21 deletions

View file

@ -1,3 +1,4 @@
use log::warn;
use rocket::{
data::{Data, FromData, FromDataFuture, Transform, TransformFuture, Transformed},
http::Status,
@ -106,7 +107,7 @@ where
},
}),
Err(e) => {
log::error!("{:?}", e);
warn!("{:?}", e);
Failure((Status::InternalServerError, ()))
}
}