databricks / databricks-sql-go

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

Logging improvements #172

Closed rcypher-databricks closed 1 year ago

rcypher-databricks commented 1 year 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.