database/middleware: fix error value used in panic We were checking txErr, but panic'ing with err. Fixes: a06a6247898c ("database: don't panic with ErrBadConn")
1 files changed, 1 insertions(+), 1 deletions(-) M database/middleware.go
M database/middleware.go => database/middleware.go +1 -1