Skip to content

Commit

Permalink
debug panic
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Jan 23, 2025
1 parent 009ab93 commit 20a3559
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/libraries/doltcore/sqle/dsess/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ func (d *DoltSession) CommitTransaction(ctx *sql.Context, tx sql.Transaction) (e

// There is no transaction to commit
if tx == nil {
panic("why have you done this?")
return nil
}

Expand Down

0 comments on commit 20a3559

Please sign in to comment.