diff --git a/pkg/server/combined_statement_stats.go b/pkg/server/combined_statement_stats.go index 0e394d7162d4..e33749875e61 100644 --- a/pkg/server/combined_statement_stats.go +++ b/pkg/server/combined_statement_stats.go @@ -983,7 +983,7 @@ func getStatementDetails( if settings.Version.IsActive(ctx, clusterversion.V23_1AddSystemActivityTables) { activityHasData, err = activityTablesHaveFullData(ctx, ie, testingKnobs, reqStartTime) if err != nil { - return nil, serverError(ctx, err) + log.Errorf(ctx, "Error on getStatementDetails: %s", err) } }