Skip to content

Commit cbc422f

Browse files
committed
remove redundant logging
1 parent 4b2ccb6 commit cbc422f

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
@@ -526,7 +526,6 @@ func (c *MySqlConnector) GetTableSizeEstimatedBytes(ctx context.Context, fullyQu
526526

527527
rs, err := c.Execute(ctx, query)
528528
if err != nil {
529-
c.logger.Warn("failed to get estimated table size", slog.Any("error", err))
530529
return 0, err
531530
}
532531
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)