databricks / databricks-sql-go

Golang database/sql driver for Databricks SQL.
Apache License 2.0
34 stars 38 forks source link

Logging improvements #172

Closed rcypher-databricks closed 9 months ago

rcypher-databricks commented 9 months ago

Differentiated some cases where the logged messages were ambiguous as to which code path they came from. Updated client to be more consistent in what context information is included in logging messages. Also updated client methods to produce a duration log message even if there is an error. Updated error handling to log the wrapped error message.