mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 04:38:09 +00:00
limit size of error log saved as a Task Error (#170)
This commit is contained in:
@ -168,8 +168,8 @@ def on_worker_event(machine_id: UUID, event: WorkerEvent) -> None:
|
||||
code=ErrorCode.TASK_FAILED,
|
||||
errors=[
|
||||
"task failed. exit_status:%s" % exit_status,
|
||||
event.done.stdout,
|
||||
event.done.stderr,
|
||||
event.done.stdout[-4096:],
|
||||
event.done.stderr[-4096:],
|
||||
],
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user