From 2a6b77496a44543320d36ef3b3d973eca32b1afb Mon Sep 17 00:00:00 2001 From: "Matthew D. Groves" Date: Mon, 25 Sep 2023 13:40:06 -0400 Subject: [PATCH] #19 argh, still not working (CI only, works fine locally) --- .../Articles/Services/CommentsDataService.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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)