Permalink
Browse files

s/not_found/notfound/g

  • Loading branch information...
1 parent f19db76 commit 1d8dd4d221d312262f6d633d3afcac127cdf0bf8 @benoitc benoitc committed Aug 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/couch/src/couch_db.erl
@@ -1391,8 +1391,8 @@ validate_doc_read(Db, Doc) ->
throw(Error);
throw:{unauthorized, _}=Error ->
throw(Error);
- throw:{not_found, _}=Error ->
- throw(Error);
+ throw:{notfound, Reason}=Error ->
+ throw({not_found, Reason});
throw:Error ->
lager:error("Error while validating read: ~p~n", [Error]),
ok

0 comments on commit 1d8dd4d

Please sign in to comment.