write trace to file as it comes #467
Annotations
3 errors
build:
packages/cli/src/run.ts#L62
Using an async function as an event listener can lead to unhandled promise rejections if the promise is rejected. Consider wrapping the async function call within the event listener in a try-catch block to handle any potential errors. 🛠️
|
build:
packages/cli/src/run.ts#L134
The setup for trace writing is only done if 'out' and 'trace' are truthy. However, 'outTrace' is used later in the code without checking if it was set up correctly. This could potentially lead to errors if 'outTrace' was not set up because 'out' or 'trace' were falsy. Please ensure that 'outTrace' is always correctly set up. 🧐
|
build:
packages/cli/src/run.ts#L266
The line of code that writes the trace content to 'outTrace' has been removed. If 'outTrace' is expected to contain the trace content, this could lead to unexpected behavior. Please ensure that the trace content is written to 'outTrace' as expected. 🕵️♀️
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
genai-results
Expired
|
20.4 KB |
|