mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-02 12:35:33 +00:00
Enable more local logging and disable dependencies'
This commit is contained in:
parent
ff5b7e60a7
commit
5cd45232f4
3 changed files with 4 additions and 1 deletions
|
@ -62,6 +62,7 @@ macro_rules! define_from_deser_rejection {
|
|||
$(
|
||||
impl From<$ty> for ApiError {
|
||||
fn from(rej: $ty) -> Self {
|
||||
tracing::debug!(?rej, "rejected");
|
||||
error_response!(
|
||||
StatusCode::BAD_REQUEST,
|
||||
"deserialization",
|
||||
|
|
|
@ -102,6 +102,8 @@ impl Server {
|
|||
|
||||
#[fixture]
|
||||
fn server() -> Server {
|
||||
let _ = tracing_subscriber::fmt::try_init();
|
||||
|
||||
let mut conn = Connection::open_in_memory().unwrap();
|
||||
Database::maybe_init(&mut conn).unwrap();
|
||||
conn.execute(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue