Skip to content

Commit

Permalink
fix(bigquery): fix logging error (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
StewartJingga authored Sep 13, 2021
1 parent afaa6a4 commit a3bc683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/extractors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (e *Extractor) Extract(ctx context.Context, config map[string]interface{},
break
}
if err != nil {
return errors.Wrapf(err, "failed to fetch dataset %s", ds.DatasetID)
return errors.Wrapf(err, "failed to fetch dataset")
}
e.extractTable(ctx, ds, out)
}
Expand All @@ -123,7 +123,7 @@ func (e *Extractor) extractTable(ctx context.Context, ds *bigquery.Dataset, out
break
}
if err != nil {
e.logger.Error("failed to scan, skipping table", "err", err, "table", table.FullyQualifiedName())
e.logger.Error("failed to scan, skipping table", "err", err)
continue
}
tmd, err := table.Metadata(ctx)
Expand Down

0 comments on commit a3bc683

Please sign in to comment.