From af89426c594c18b9f3f7afc6070d295a101d7886 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Fri, 24 May 2024 00:06:01 +0530 Subject: [PATCH] add error log for fetch schema --- flow/connectors/postgres/postgres.go | 1 + 1 file changed, 1 insertion(+) diff --git a/flow/connectors/postgres/postgres.go b/flow/connectors/postgres/postgres.go index d8dea391de..6bd8401064 100644 --- a/flow/connectors/postgres/postgres.go +++ b/flow/connectors/postgres/postgres.go @@ -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