Skip to content

Commit

Permalink
add error log for fetch schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed May 23, 2024
1 parent cac1780 commit af89426
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/connectors/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@ func (c *PostgresConnector) GetTableSchema(
}
tableSchema, err := c.getTableSchemaForTable(ctx, tableName, req.System)
if err != nil {
c.logger.Info("error fetching schema for table "+tableName, slog.Any("error", err))
return nil, err
}
res[tableName] = tableSchema
Expand Down

0 comments on commit af89426

Please sign in to comment.