This is an automated email from the ASF dual-hosted git repository. vatamane pushed a commit to branch replace-kaboom in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 2427fbda1b44491aa8af6c3797408e629183ee66 Author: Nick Vatamaniuc <[email protected]> AuthorDate: Mon Sep 18 11:52:17 2023 -0400 Replace replicator open_doc_revs kaboom with something more descriptive Use something more descriptive, especially since it can bubble up the user lvel when the replication job crashes. --- src/couch_replicator/src/couch_replicator_api_wrap.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couch_replicator/src/couch_replicator_api_wrap.erl b/src/couch_replicator/src/couch_replicator_api_wrap.erl index fbe9538ad..1b9a9e0ae 100644 --- a/src/couch_replicator/src/couch_replicator_api_wrap.erl +++ b/src/couch_replicator/src/couch_replicator_api_wrap.erl @@ -284,7 +284,7 @@ open_doc_revs(#httpdb{retries = 0} = HttpDb, Id, Revs, Options, _Fun, _Acc) -> couch_replicator_httpc:full_url(HttpDb, [{path, Path}, {qs, QS}]) ), couch_log:error("Replication crashing because GET ~s failed", [Url]), - exit(kaboom); + exit(open_doc_revs_failed); open_doc_revs(#httpdb{} = HttpDb, Id, Revs, Options, Fun, Acc) -> Path = encode_doc_id(Id), QS = options_to_query_args(HttpDb, Path, [revs, {open_revs, Revs} | Options]),
