Github user emlaver commented on a diff in the pull request:
https://github.com/apache/bahir/pull/60#discussion_r160003061
--- Diff:
sql-cloudant/src/main/scala/org/apache/bahir/cloudant/internal/ChangesReceiver.scala
---
@@ -72,6 +72,7 @@ class ChangesReceiver(config: CloudantChangesConfig)
val status = headers.getOrElse("Status", IndexedSeq.empty)
val errorMsg = "Error retrieving _changes feed " +
config.getDbname + ": " + status(0)
reportError(errorMsg, new CloudantException(errorMsg))
+ stop(errorMsg)
--- End diff --
Updated error message to contain HTTP status from `ChangesReceiver` in
f0ae901. I've also added a test case in the same commit.
---