Comment 4 for bug 1700453

Revision history for this message
Tim Penhey (thumper) wrote :

The reason that we don't see the annotated value is that we are returning the tomb.Err() as the logtailer Err() method.

The tomb Err is set in the Kill call in the goroutine started in NewLogTailer, which uses Errors.Cause(err) to deal with the case where we wrap tomb.ErrDying.