Skip to content

Commit a38f4bb

Browse files
Changes based on review.
Made error messages public. Renamed SystemFault to DriverError. Fixed a few places where we were returning the wrong type of error. Fixed a code path that would crash when the sentinel timed out. Signed-off-by: Raymond Cypher <[email protected]>
1 parent 4a9bb42 commit a38f4bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

internal/config/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"github.com/databricks/databricks-sql-go/auth"
1616
"github.com/databricks/databricks-sql-go/auth/noop"
1717
"github.com/databricks/databricks-sql-go/auth/pat"
18-
1918
"github.com/databricks/databricks-sql-go/internal/cli_service"
2019
dbsqlerrint "github.com/databricks/databricks-sql-go/internal/errors"
2120
"github.com/databricks/databricks-sql-go/logger"

internal/errors/err_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ func TestDbSqlErrors(t *testing.T) {
154154
assert.Equal(t, e, str)
155155
assert.NotEqual(t, cause, str)
156156
})
157+
158+
t.Run("", func(t *testing.T) {
159+
})
160+
157161
}
158162

159163
type boringError struct{}

0 commit comments

Comments
 (0)