Kaelan Patel hace 4 años
padre
commit
dbff196159
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pkg/cloud/awsprovider.go

+ 1 - 1
pkg/cloud/awsprovider.go

@@ -1610,7 +1610,7 @@ func (aws *AWS) QueryAthenaPaginated(ctx context.Context, query string, fn func(
 	}
 	}
 	err = waitForQueryToComplete(ctx, cli, startQueryExecutionOutput.QueryExecutionId)
 	err = waitForQueryToComplete(ctx, cli, startQueryExecutionOutput.QueryExecutionId)
 	if err != nil {
 	if err != nil {
-		log.Errorf("QueryAthenaPaginated: query execution error: %s", err.Error())
+		return fmt.Errorf("QueryAthenaPaginated: query execution error: %s", err.Error())
 	}
 	}
 	queryResultsInput := &athena.GetQueryResultsInput{
 	queryResultsInput := &athena.GetQueryResultsInput{
 		QueryExecutionId: startQueryExecutionOutput.QueryExecutionId,
 		QueryExecutionId: startQueryExecutionOutput.QueryExecutionId,