diff --git a/Conduit/Conduit.Web/Articles/Services/CommentsDataService.cs b/Conduit/Conduit.Web/Articles/Services/CommentsDataService.cs index 19938feb90..5774da2161 100644 --- a/Conduit/Conduit.Web/Articles/Services/CommentsDataService.cs +++ b/Conduit/Conduit.Web/Articles/Services/CommentsDataService.cs @@ -86,9 +86,9 @@ UNNEST c2 AS c WHERE META(c2).id = $commentsKey;"; var cluster = collection.Scope.Bucket.Cluster; - try - { - + // try + // { + // var results = await cluster.QueryAsync(sql, options => { options.Parameter("commentsKey", GetCommentsKey(slug.GetArticleKey())); @@ -96,11 +96,11 @@ UNNEST c2 AS c options.ScanConsistency(_couchbaseOptions.Value.ScanConsistency); }); return new DataServiceResult>(await results.Rows.ToListAsync(), DataResultStatus.Ok); - } - catch (Exception ex) - { - return new DataServiceResult>(null, DataResultStatus.Error); - } + // } + // catch (Exception ex) + // { + // return new DataServiceResult>(null, DataResultStatus.Error); + // } } private async Task GetNextCommentId(string slug)