Use tracing instead of log in collab and rpc crates
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
9f6e82720d
commit
9ca6e29a17
5 changed files with 52 additions and 56 deletions
|
@ -44,7 +44,7 @@ impl AppState {
|
|||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
if let Err(error) = env::load_dotenv() {
|
||||
log::error!(
|
||||
eprintln!(
|
||||
"error loading .env.toml (this is expected in production): {}",
|
||||
error
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue