summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-04-04 22:27:12 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-04-04 22:27:12 +0000
commitc2ffeee2ad21a49a9c6d153aa89067505f1f1e26 (patch)
tree5d27fa6c4967397d8957739088640356818082fc /src
parentbf87797c3eb759fdbfde221b1f1a9ebeea77779d (diff)
Fix typo in error id.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@644964 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_db.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_db.erl b/src/couchdb/couch_db.erl
index 6f8a4ac6..e242c382 100644
--- a/src/couchdb/couch_db.erl
+++ b/src/couchdb/couch_db.erl
@@ -72,7 +72,7 @@ start_link0(DbName, Filepath, Options) ->
ok = file:rename(Filepath ++ ".compact", Filepath),
Fd0;
{error, enoent} ->
- throw({error, notfound})
+ throw({error, not_found})
end;
Else ->
throw(Else)