Skip to content

Commit b059824

Browse files
committed
remove redundant logging
1 parent 2ff9463 commit b059824

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

flow/connectors/mysql/mysql.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ func (c *MySqlConnector) GetTableSizeEstimatedBytes(ctx context.Context, fullyQu
529529

530530
rs, err := c.Execute(ctx, query)
531531
if err != nil {
532-
c.logger.Warn("failed to get estimated table size", slog.Any("error", err))
533532
return 0, err
534533
}
535534
defer rs.Close()

flow/connectors/postgres/postgres.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1808,7 +1808,6 @@ func (c *PostgresConnector) GetTableSizeEstimatedBytes(ctx context.Context, full
18081808
tableSizeQuery := "SELECT pg_relation_size(to_regclass($1))"
18091809
var tableSizeBytes pgtype.Int8
18101810
if err := c.conn.QueryRow(ctx, tableSizeQuery, fullyQualifiedTableName).Scan(&tableSizeBytes); err != nil {
1811-
c.logger.Warn("failed to get estimated table size", slog.Any("error", err))
18121811
return 0, err
18131812
}
18141813
if !tableSizeBytes.Valid {

0 commit comments

Comments
 (0)