mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 08:03:46 +00:00
fix: add read_stderr stub to Windows AgentServerLogs
This commit is contained in:
parent
0faa608822
commit
7475760bee
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ use std::fs::OpenOptions;
|
|||
use std::path::{Path, PathBuf};
|
||||
|
||||
use sandbox_agent_error::SandboxError;
|
||||
use sandbox_agent_universal_agent_schema::StderrOutput;
|
||||
use time::{Duration, OffsetDateTime};
|
||||
|
||||
const LOG_RETENTION_DAYS: i64 = 7;
|
||||
|
|
@ -76,4 +77,10 @@ impl AgentServerLogs {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Read stderr output from the agent's log file.
|
||||
/// Windows stub - returns None as stderr capture is not implemented.
|
||||
pub fn read_stderr(&self) -> Option<StderrOutput> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue