chore: Get the tracing in

This commit is contained in:
Justin Miller
2021-10-10 20:41:09 -06:00
committed by Aiden McClelland
parent 81164f974f
commit c3ac27865d
27 changed files with 226 additions and 227 deletions

View File

@@ -1,6 +1,6 @@
use std::fmt::Display;
use color_eyre::eyre::eyre;
use color_eyre::eyre::{eyre, ErrReport};
use patch_db::Revision;
use rpc_toolkit::yajrc::RpcError;
@@ -225,7 +225,7 @@ impl From<Error> for RpcError {
match serde_json::to_value(&e.revision) {
Ok(a) => a,
Err(e) => {
log::warn!("Error serializing revision for Error object: {}", e);
tracing::warn!("Error serializing revision for Error object: {}", e);
serde_json::Value::Null
}
},