Skip to content

Commit

Permalink
Add full stop at the end of the exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
mvelimir committed May 30, 2023
1 parent e015532 commit 579e1d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class SearchResult private[elasticsearch] (
lazy val total: IO[ElasticException, Long] = ZIO
.fromOption(fullResponse.hits.total)
.map(_.value)
.mapError(_ => new ElasticException("Total hits are not being tracked"))
.mapError(_ => new ElasticException("Total hits are not being tracked."))
}

final class SearchAndAggregateResult private[elasticsearch] (
Expand Down Expand Up @@ -111,5 +111,5 @@ final class SearchAndAggregateResult private[elasticsearch] (
ZIO
.fromOption(fullResponse.hits.total)
.map(_.value)
.mapError(_ => new ElasticException("Total hits are not being tracked"))
.mapError(_ => new ElasticException("Total hits are not being tracked."))
}

0 comments on commit 579e1d5

Please sign in to comment.