Skip to content

Commit 6b4fce7

Browse files
Fixed case where incorrect error is being logged
Signed-off-by: Raymond Cypher <[email protected]>
1 parent 2a813ac commit 6b4fce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ func (c *conn) executeStatement(ctx context.Context, query string, args []driver
333333
})
334334

335335
if err1 != nil {
336-
log.Err(err).Msgf("databricks: cancel failed")
336+
log.Err(err1).Msgf("databricks: cancel failed")
337337
} else {
338338
log.Debug().Msgf("databricks: cancel success")
339339
}

0 commit comments

Comments
 (0)