Skip to content

Commit 11010c6

Browse files
committed
initialize project tracing
1 parent 7af2fe2 commit 11010c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/next-api/src/project.rs

+2
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ impl ProjectContainer {
194194
}
195195

196196
impl ProjectContainer {
197+
#[tracing::instrument(level = "info", name = "initialize project", skip_all)]
197198
pub async fn initialize(self: Vc<Self>, options: ProjectOptions) -> Result<()> {
198199
self.await?.options_state.set(Some(options));
199200
let project = self.project();
@@ -210,6 +211,7 @@ impl ProjectContainer {
210211
Ok(())
211212
}
212213

214+
#[tracing::instrument(level = "info", name = "update project", skip_all)]
213215
pub async fn update(self: Vc<Self>, options: PartialProjectOptions) -> Result<()> {
214216
let PartialProjectOptions {
215217
root_path,

0 commit comments

Comments
 (0)