Skip to content

Commit

Permalink
Merge pull request #497 from gopcua/issue-491-do-not-fail-sub-on-bad-…
Browse files Browse the repository at this point in the history
…node

subscription: do not fail Monitor() on bad node (#491)
  • Loading branch information
magiconair authored Nov 19, 2021
2 parents 7e0fffd + e8a4934 commit 1ade087
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,6 @@ func (s *Subscription) Monitor(ts ua.TimestampsToReturn, items ...*ua.MonitoredI
return nil, err
}

for _, result := range res.Results {
if status := result.StatusCode; status != ua.StatusOK {
return nil, status
}
}

// store monitored items
// todo(fs): should we guard this with a lock?
for i, item := range items {
Expand Down

0 comments on commit 1ade087

Please sign in to comment.