Skip to content

Commit

Permalink
Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Oct 30, 2024
1 parent 6d411a4 commit fd080ee
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export async function generateArtifactStream(
});

console.log("before await (const partialObject");
console.log("runtime:", process.env.NEXT_RUNTIME);
for await (const partialObject of partialObjectStream) {
stream.update(partialObject);
}
Expand All @@ -95,6 +96,7 @@ export async function generateArtifactStream(
})();

console.log("before return");
console.log("runtime:", process.env.NEXT_RUNTIME);
return { object: stream.value };
}

Expand Down

0 comments on commit fd080ee

Please sign in to comment.