MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / logErr

Method logErr

plugins/destination/mssql/client/log.go:17–23  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

15}
16
17func (c *Client) logErr(err error) {
18 var dbErr mssql.Error
19 if !errors.As(err, &dbErr) {
20 return
21 }
22 c.logMSSQLError(dbErr)
23}
24
25func (c *Client) logMSSQLError(err mssql.Error) {
26 if len(err.All) > 0 {

Callers 6

schemaTablesMethod · 0.95
doInTxMethod · 0.95
createTableMethod · 0.95
dropTableMethod · 0.95
getTableColumnsMethod · 0.95
getTablePKMethod · 0.95

Calls 1

logMSSQLErrorMethod · 0.95

Tested by

no test coverage detected