summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_db.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_db.erl')
-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 e065ff3b..95a68311 100644
--- a/src/couchdb/couch_db.erl
+++ b/src/couchdb/couch_db.erl
@@ -52,7 +52,7 @@ open_db_file(Filepath, Options) ->
ok = file:rename(Filepath ++ ".compact", Filepath),
{ok, Fd};
{error, enoent} ->
- not_found
+ {not_found, no_db_file}
end;
Error ->
Error