• Michael Schurter's avatar
    client: do not inspect task state to follow logs · 13f47aa5
    Michael Schurter authored
    "Ask forgiveness, not permission."
    
    Instead of peaking at TaskStates (which are no longer updated on the
    AR.Alloc() view of the world) to only read logs for running tasks, just
    try to read the logs and improve the error handling if they don't exist.
    
    This should make log streaming less dependent on AR/TR behavior.
    
    Also fixed a race where the log streamer could exit before reading an
    error. This caused no logs or errors to be displayed sometimes when an
    error occurred.
    13f47aa5