(prefix string, err error)
| 180 | } |
| 181 | |
| 182 | func (this *Batch) processErr(prefix string, err error) { |
| 183 | if err == nil { |
| 184 | return |
| 185 | } |
| 186 | |
| 187 | if this.onFail != nil { |
| 188 | this.onFail(err) |
| 189 | } else { |
| 190 | remotelogs.Error("SQLITE_BATCH", prefix+": "+err.Error()) |
| 191 | } |
| 192 | } |