.github: add a staticcheck action (#326)
Add a staticcheck step to the lint job of the Test workflow, and fix reported diagnostics.
This commit is contained in:
parent
3db848abec
commit
46ba813860
1 changed files with 11 additions and 14 deletions
|
|
@ -719,10 +719,10 @@ func (c *Connection) processResult(from any, req *incomingRequest, result any, e
|
|||
} else if err != nil {
|
||||
err = fmt.Errorf("%w: %q notification failed: %v", ErrInternal, req.Method, err)
|
||||
}
|
||||
if err != nil {
|
||||
// TODO: can/should we do anything with this error beyond writing it to the event log?
|
||||
// (Is this the right label to attach to the log?)
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
// TODO: can/should we do anything with this error beyond writing it to the event log?
|
||||
// (Is this the right label to attach to the log?)
|
||||
}
|
||||
|
||||
// Cancel the request to free any associated resources.
|
||||
|
|
|
|||
Loading…
Reference in a new issue