Skip to content

Commit

Permalink
Merge pull request #114 from dolthub/db/err
Browse files Browse the repository at this point in the history
/testing/logictest/harness/doltgres_server_harness.go: catch error
  • Loading branch information
coffeegoddd authored Jan 29, 2024
2 parents 588c916 + 80c2deb commit 44694ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/logictest/harness/doltgres_server_harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ func (h *DoltgresHarness) startNewDoltgresServer(ctx context.Context, newTestFil
func (h *DoltgresHarness) ClearServer() {
if h.db != nil {
err := h.db.Close()
logErr(err, "closing connection")
if err != nil {
logErr(err, "closing connection")
}
h.db = nil
}
// close
Expand Down

0 comments on commit 44694ea

Please sign in to comment.