From 96e90c44eb9bf70a3d05fbb6e9f637ca88a2745a Mon Sep 17 00:00:00 2001 From: "Paul J. Davis" Date: Fri, 31 Jan 2020 12:29:18 -0600 Subject: Jiffy exceptions are errors now Jiffy changed its exception type in 1.0 to match the standard Erlang style for exceptions that cross an API boundary. --- src/couch/src/couch_util.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couch/src/couch_util.erl b/src/couch/src/couch_util.erl index 180db9518..a785e2e44 100644 --- a/src/couch/src/couch_util.erl +++ b/src/couch/src/couch_util.erl @@ -501,7 +501,7 @@ json_decode(V) -> try jiffy:decode(V, [dedupe_keys]) catch - throw:Error -> + error:Error -> throw({invalid_json, Error}) end. -- cgit v1.2.1