Skip to content

Commit

Permalink
Merge pull request #203 from NethermindEth/fix/logs-problem
Browse files Browse the repository at this point in the history
fix problem with logging
  • Loading branch information
rjnrohit authored Nov 14, 2023
2 parents 34ec897 + b9ff2f4 commit 77ea748
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/src/handlers/compile_sierra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use rocket::tokio::fs;
use rocket::State;
use std::path::{Path, PathBuf};
use std::process::{Command, Stdio};
use tracing::{debug, instrument};
use tracing::{debug, info, instrument};

#[instrument]
#[get("/compile-to-sierra/<version>/<remix_file_path..>")]
Expand Down
2 changes: 1 addition & 1 deletion api/src/handlers/process.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::handlers::types::{ApiCommand, ApiCommandResult};
use crate::worker::{ProcessState, WorkerEngine};
use rocket::State;
use tracing::instrument;
use tracing::{info, instrument};
use uuid::Uuid;

#[instrument]
Expand Down
2 changes: 1 addition & 1 deletion api/src/handlers/scarb_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use rocket::serde::json::Json;
use rocket::State;
use std::path::PathBuf;
use std::process::{Command, Stdio};
use tracing::instrument;
use tracing::{info, instrument};

#[instrument]
#[get("/compile-scarb/<remix_file_path..>")]
Expand Down
2 changes: 1 addition & 1 deletion api/src/handlers/scarb_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use rocket::serde::json::Json;
use rocket::State;
use std::path::PathBuf;
use std::process::{Command, Stdio};
use tracing::instrument;
use tracing::{info, instrument};

#[instrument]
#[get("/scarb-test-async/<remix_file_path..>")]
Expand Down

0 comments on commit 77ea748

Please sign in to comment.