web: use log::error, not seed::error
This commit is contained in:
parent
29949c703d
commit
b76c535738
@ -1,5 +1,5 @@
|
|||||||
use graphql_client::GraphQLQuery;
|
use graphql_client::GraphQLQuery;
|
||||||
use log::{debug, info};
|
use log::{debug, error, info};
|
||||||
use notmuch::ThreadSet;
|
use notmuch::ThreadSet;
|
||||||
use seed::{prelude::*, *};
|
use seed::{prelude::*, *};
|
||||||
use thiserror::Error;
|
use thiserror::Error;
|
||||||
@ -302,7 +302,7 @@ pub fn update(msg: Msg, model: &mut Model, orders: &mut impl Orders<Msg>) {
|
|||||||
model.context = Context::ThreadResult(data.thread);
|
model.context = Context::ThreadResult(data.thread);
|
||||||
}
|
}
|
||||||
Msg::ShowThreadResult(bad) => {
|
Msg::ShowThreadResult(bad) => {
|
||||||
error!("show_thread_query error: {}", bad);
|
error!("show_thread_query error: {bad:#?}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user