diff --git a/GetRuntimeAddresses/symbolyze/symbolyze.go b/GetRuntimeAddresses/symbolyze/symbolyze.go index 79af466..33cfee4 100644 --- a/GetRuntimeAddresses/symbolyze/symbolyze.go +++ b/GetRuntimeAddresses/symbolyze/symbolyze.go @@ -102,8 +102,7 @@ func (S *Scanner) OnFound(fun Observer) { // // Run will return an error if it couldn't read the proc filesystem. Otherwise // it will try to continue to loop over all pids, writing potential errors to -// the console. Errors from the observer functions are also logged and the -// final such error is the return value of Run(). +// the console. Errors from the observer functions are logged. func (S *Scanner) Run() error { if S.err != nil { return S.err @@ -141,8 +140,8 @@ func (S *Scanner) Run() error { go func() { err = observer(pid, offset) if err != nil { - S.setErrorf("S.observer[%d] error: %v", n, err) - // TODO: propagate errors from all Observers. + S.Printf("S.observer[%d](%d, %d) error: %v", n, pid, offset, err) + // TODO: accumulate errors from all Observers. } wg.Done() }()