Fix a bunch of not-checking-error lints
This commit is contained in:
parent
114aec73ed
commit
5f3fcc2b3e
14 changed files with 124 additions and 34 deletions
|
|
@ -99,7 +99,7 @@ func LoadTemplates() error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("Failed to load report-notification-confirmation template ID: %s", err)
|
||||
}
|
||||
tx.Commit(ctx)
|
||||
lint.LogOnErrCtx(tx.Commit, ctx, "commit")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue